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
24 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.