21 lines
538 B
YAML
Executable File
21 lines
538 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
|
|
- hosts: crans_server
|
|
roles:
|
|
- ssh_known_hosts
|
|
|
|
- hosts: server
|
|
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
|