You may want to check out these two config options:

https://docs.ansible.com/ansible/latest/reference_appendices/config.html?highlight=ansible_become_exe#default-become-exe
https://docs.ansible.com/ansible/latest/reference_appendices/config.html?highlight=ansible_become_exe#default-become-flags

On Tuesday, October 30, 2018 at 10:28:59 AM UTC-5, Bairava Surya wrote:
>
> Hi Team,
>
>
> we need to sudo to solaris box using ansible.
> Below steps are done manually to login as sudo via putty
> SSH into solaris box by entering username and password
> sudo to server by entering username and password as it prompt for password.
>
> Using ansible am able to ssh to the server but second step am unable to 
> achieve via ansible 
> i studied become module and implemeted getting time out exception as my 
> sudo is implemeted in interactive manner.can any one guide me on this as am 
> struck on this from many months.
>
> Regards
> B Surya
>

-- 
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/6a9cde7e-0cd1-4a52-a306-5641001108ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to