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