Rutik Nisarg Samal:
@Mumshad Mannambeth Could you plz let me know if there is a way to pass - --ask-become-pass from command line instead of typing in the terminal.
Alireza Nasri:
I know you can try to become
in ansible playbook or add it in ansible.cfg
Mumshad Mannambeth:
Hi, you can use ansible_become_pass
variable. However I do not recommend using this or setting it in command line as it is a security risk to expose password in plain text.