ansible-navigator icon indicating copy to clipboard operation
ansible-navigator copied to clipboard

Support for 'become' and 'become_ask'

Open tima opened this issue 1 year ago • 1 comments

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 avatar Jul 14 '23 16:07 tima

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 avatar Jul 19 '23 13:07 shatakshiiii