remove sensible data from inventory

This commit is contained in:
les 2021-01-06 12:15:21 +01:00
parent 96da8149f0
commit c298c5ebd4

View file

@ -1,27 +1,24 @@
paddone:
hosts: 192.168.200.12
cicles:
hosts: 192.168.199.105
hosts: cisti.pad
gancio:
hosts: 192.168.199.106
hosts: cisti.gancio
cicles:
hosts: cisti.cicles
farma:
hosts: cisti.farma
frontend:
hosts: 172.172.0.3
hosts: cisti.frontend
test:
hosts: 45.156.24.144
hosts: cisti.jolly
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')}}"