16 lines
387 B
YAML
Executable File
16 lines
387 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
|
|
- hosts: server
|
|
vars:
|
|
borg: '{{ glob_borg | default({}) | combine(loc_borg | default({})) }}'
|
|
mirror: '{{ glob_mirror | default({}) | combine(loc_mirror | default({})) }}'
|
|
roles:
|
|
- borgbackup-client
|
|
|
|
- hosts: backups
|
|
vars:
|
|
borg: '{{ glob_borg | default({}) | combine(loc_borg | default({})) }}'
|
|
roles:
|
|
- borgbackup-server
|