start using ansible vault

main
Ricard Illa 2022-08-31 17:06:40 +02:00
parent 2b21a01088
commit af7737e82d
2 changed files with 4 additions and 0 deletions

1
deploy
View File

@ -2,5 +2,6 @@
ansible-playbook \ ansible-playbook \
--inventory hosts.yml \ --inventory hosts.yml \
--vault-password-file get_password.sh \
"$@" \ "$@" \
deploy.yml deploy.yml

3
get_password.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
pass ansible-vault