Hi,

I hit a snag using "become/sudo". I can become/sudo to the root user if the 
prompt that is returned is as expected (I think). For example, here is the 
default prompt.

*[sudo] password for testuser:*

I think Ansible expects some variation of the prompt above to which it 
sends the become/sudo password.

If the prompt looks like below (its still a sudo prompt, just not the 
default)

*enter PASSCODE:*

become/sudo will fail. I think its because the module, whatever module/code 
that it is, expects a return prompt similar to the default.

I would like to edit the file that expects this prompt to allow for the 
additional return prompt. I don't know which .py file that would be. I am 
open to other suggestions. I reviewed the vars_prompt documentation, but I 
am not sure how I would set it.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/007024ff-3185-4c67-b776-5f8ea2d4faa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to