self-hosting/playbooks/backup.yml

19 lines
338 B
YAML

---
- name: Setup backup server
gather_facts: true
hosts: backupservers
roles:
- role: common_handlers
tags: always
- role: borg_server
tags: borg
- name: Setup backup clients
gather_facts: true
hosts: all
roles:
- role: common_handlers
tags: always
- role: borgmatic
tags: borgmatic