Undocumented feature? (ask_vault_pass in ansible.cfg)

34 views
Skip to first unread message

Carlos A. Carnero Delgado

unread,
Aug 9, 2015, 6:41:01 PM8/9/15
to ansible...@googlegroups.com
Hi,

at my organization almost every playbook uses the vault, so we need to constantly pass the --ask-vault-pass option when invoking Ansible. Thinking that I could save a few characters from being typed by using the ansible.cfg file, I checked the configuration file documentation and found no reference at all, so I thought that maybe that wasn't a supported setting. Out of curiosity -- and in part encouraged by that very documentation page -- I looked at the constants.py file and found it there!

I modified my ansible.cfg with that new information and it did work as I expected. However, it is not documented, so I'm asking if this is a simple oversight (I could create a new issue in GitHub or submit a MR) or it is not documented for other reasons?

Thanks a lot,
Carlos.

Brian Coca

unread,
Aug 10, 2015, 10:06:10 AM8/10/15
to Ansible Project
yes, it should be documented, we would welcome such a PR.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages