ansible-playbook --ask-become-user in vault file?

13 views
Skip to first unread message

Tony Wong

unread,
Jun 14, 2020, 6:20:35 PM6/14/20
to ansible...@googlegroups.com
can i put a sudo password and other passwords together in a vault file?

when i run thios playbook, i want it to read the vault file w/o asking me for the password anymore


 ansible-playbook --ask-vault-pass vcenter_sddc_deploy.yml --ask-become-pass -vvv

Dick Visser

unread,
Jun 14, 2020, 10:55:58 PM6/14/20
to ansible...@googlegroups.com

Specifying above '--ask...' options will do the opposite (ask for password) from what you want (don't ask). 
So don't use those options I you don't want to get asked. 



--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALmkhkogu%2B5EoJRbT%2BAWkGLcUyo_vaOuCs-J11vmA3BJEF8wVg%40mail.gmail.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.
Reply all
Reply to author
Forward
0 new messages