ansible/playbooks/backups.yml

22 lines
478 B
YAML
Raw Normal View History

#!/usr/bin/env ansible-playbook
2021-03-11 20:09:26 +01:00
---
- hosts: perceval.adm.auro.re
2021-11-27 19:14:39 +01:00
vars:
update_motd:
borgbackup_server: >-
Les sauvegardes (borg) sont stockées dans
{{ borg_server_backups_dir }}.
2021-03-11 20:09:26 +01:00
roles:
- borgbackup_server
2021-11-27 19:14:39 +01:00
- update_motd
- hosts: all,!unifi,!unifi-*,!wiki.adm.auro.re
vars:
update_motd:
borgbackup_client: >-
BorgBackup est déployé (/etc/borgmatic/config.yaml)
roles:
- borgbackup_client
- update_motd
2021-03-11 20:09:26 +01:00
...