system-config/playbooks/service-borg-backup.yaml

13 lines
379 B
YAML

# This needs to happen in order. Backup hosts export their username/key
# combos which are installed onto the backup server
- hosts: "borg-backup:!disabled"
name: "Base: Generate borg backup users and keys"
roles:
- iptables
- borg-backup
- hosts: "borg-backup-server:!disabled"
name: "Generate borg configuration"
roles:
- iptables
- borg-backup-server