Missing sudo password in the scripts
Description: if you don't pass the parameter -K to run the playbook it fails with the message: Missing sudo password.
$ ansible-playbook -i dev site.yml ... TASK [common : Create group] **************************************************************************** fatal: [apim_1]: FAILED! => {"msg": "Missing sudo password"} fatal: [apim-is-as-km_1]: FAILED! => {"msg": "Missing sudo password"} fatal: [apim-analytics-worker_1]: FAILED! => {"msg": "Missing sudo password"}
Suggested Labels: Documentation
@chirangaalwis Can we look into this and fix asap?
The use of become is inconsistent/incomplete. If the playbook header would havebecome: true and an ansible.cfg file would have the become_method: sudo, then the setup is more portable to various environments. And it would be obvious to the user to enter the sudo password.
The merged PR moved become_method to ansible.cfg and documents the use of -K.
This issue can be closed?