33 lines
860 B
YAML
33 lines
860 B
YAML
---
|
|
# Basic group structure
|
|
# to avoid / for paths just using words_ ie /data = root_data
|
|
# ALL new paths should be added as childen at the bottom. this will allow 1 task to run all backups.
|
|
all:
|
|
vars:
|
|
ansible_user: 'ansible'
|
|
|
|
children:
|
|
app_data:
|
|
hosts:
|
|
semaphore:
|
|
ansible_host: 192.168.0.62
|
|
# Add your other data servers here:
|
|
# server2:
|
|
# ansible_host: 192.168.0.63
|
|
|
|
# Maps to the /app/docker/ path in the playbook
|
|
app_docker:
|
|
hosts:
|
|
semaphore:
|
|
ansible_host: 192.168.0.62
|
|
# Add your other docker servers here:
|
|
# server3:
|
|
# ansible_host: 192.168.0.64
|
|
|
|
# Maps to the /home/grail/ path in the playbook
|
|
home_grail:
|
|
hosts:
|
|
# Add your grail servers here if any:
|
|
# server4:
|
|
# ansible_host: 192.168.0.65
|