How to set and use sudo password for Ansible Vault


#1

Originally published at: https://www.cyberciti.biz/faq/how-to-set-and-use-sudo-password-for-ansible-vault/

How can I set a sudo password for Ansible from the Linux or Unix cli? How can I store sudo password in a vault file and use it securely without exposing my details?