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
258 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

Pass sudo password while executing Ansible playbook

Hey @Bob, try something like this: ansible-playbook playbook.yml ...READ MORE

answered Jul 22 in Ansible by Akash
60 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
211 views
0 votes
1 answer