ansible-role-borgbackup/tasks/main.yml

23 lines
518 B
YAML
Raw Normal View History

2023-04-08 19:17:38 +02:00
---
2023-04-08 21:07:04 +02:00
- name: Install Packages
ansible.builtin.import_tasks: packages.yml
tags: packages
2023-04-08 22:33:17 +02:00
- name: Create SSH key
ansible.builtin.import_tasks: ssh.yml
tags: ssh
2023-04-08 19:17:38 +02:00
2023-04-08 21:07:04 +02:00
- name: Setup borgbase backup
ansible.builtin.import_tasks: borgbase.yml
2023-05-08 11:21:21 +02:00
when: "'borgbase' in borg_providers"
2023-04-08 21:07:04 +02:00
tags: borgbase
2023-04-08 19:17:38 +02:00
2023-05-08 10:36:42 +02:00
- name: Setup Hetzner storagebox backup
ansible.builtin.import_tasks: storagebox.yml
2023-05-08 11:21:21 +02:00
when: "'hetzner' in borg_providers"
2023-05-08 10:36:42 +02:00
tags: storagebox
2023-04-08 23:08:58 +02:00
- name: Setup borg
ansible.builtin.import_tasks: borg.yml
tags: borg