Pass multiple password files while running ansible playbook

0 votes
I have two password files which I would like to pass while running my ansible playbook. The problem is both the files are encrypted with different passwords. Can I pass multiple passwords?
Mar 6 in Ansible by Neha
74 views

1 answer to this question.

0 votes

Hey @Neha, you can pass your password file running the playbook in the following manner:

ansible-playbook --vault-password-file password-file site.yml

As far as I remember, the documentation says that all encrypted files must be encrypted using the same vault password. 

answered Mar 6 by Yesha

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer