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

Support for 'become' and 'become_ask' #1575

Open
tima opened this issue Jul 14, 2023 · 1 comment
Open

Support for 'become' and 'become_ask' #1575

tima opened this issue Jul 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@tima
Copy link

tima commented Jul 14, 2023

ISSUE TYPE
  • Feature Idea
SUMMARY

From user feedback:

ansible-navigator hangs on waiting for "become" password . We will not be able to use ansible-navigator without this functionality, and will have to continue to rely on ansible-playbook.

We operate in a secure environment, and one of the suggested solutions was to allow ssh as root using certificates. We are required by policy to only allow root access via su, sudo, or console access.

https://issues.redhat.com/browse/AAPRFE-319

@tima tima added enhancement New feature or request new New issues and PRs to triaged labels Jul 14, 2023
@shatakshiiii
Copy link
Contributor

shatakshiiii commented Jul 19, 2023

There is a CLI parameter in ansible-navigator, known as enable-prompts to support the privilege escalation related operations such as using "ask-pass" or "ask-become-pass". That makes it work same as "ansible-playbook".

FAQ entry for using --enable-prompts is mentioned over here.

Let me know if that works or if I can provide some more details around it.
Thanks!

@shatakshiiii shatakshiiii removed the new New issues and PRs to triaged label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants