infra/inventory.yml
2021-01-04 19:10:21 +01:00

27 lines
No EOL
964 B
YAML

paddone:
hosts: 192.168.200.12
cicles:
hosts: 192.168.199.105
gancio:
hosts: 192.168.199.106
frontend:
hosts: 172.172.0.3
test:
hosts: 45.156.24.144
vars:
ansible_user: debian
all:
vars:
passwordstore_path: cisti.org/ansible
restic_default_folders: []
restic_password: "{{lookup('community.general.passwordstore', '{{passwordstore_path}}/restic/{{ansible_hostname}}_pwd create=True nosymbols=true')}}"
restic_repository_name: "{{ansible_hostname}}"
restic_ssh_private_key: "{{lookup('community.general.passwordstore', '{{passwordstore_path}}/restic/ssh_private returnall=true')}}"
restic_ssh_hostname: "{{lookup('community.general.passwordstore', '{{passwordstore_path}}/restic/ssh_hostname')}}"
restic_ssh_user: "{{lookup('community.general.passwordstore', '{{passwordstore_path}}/restic/ssh_user')}}"
restic_ssh_port: "{{lookup('community.general.passwordstore', '{{passwordstore_path}}/restic/ssh_port')}}"