Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing sudo password in the scripts #98

Open
rymonteiro opened this issue Nov 7, 2019 · 4 comments
Open

Missing sudo password in the scripts #98

rymonteiro opened this issue Nov 7, 2019 · 4 comments

Comments

@rymonteiro
Copy link

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

@VimukthiPerera VimukthiPerera added this to the 3.0.0.2 milestone Nov 27, 2019
@VimukthiPerera
Copy link
Contributor

@chirangaalwis Can we look into this and fix asap?

@VimukthiPerera VimukthiPerera removed this from the 3.0.0.2 milestone Sep 15, 2020
@bbaassssiiee
Copy link
Contributor

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.

@bbaassssiiee
Copy link
Contributor

The merged PR moved become_method to ansible.cfg and documents the use of -K.

@bbaassssiiee
Copy link
Contributor

This issue can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants