Re: ansible-sudo-issue

45 views
Skip to first unread message

Bairava Surya

unread,
Oct 30, 2018, 11:28:59 AM10/30/18
to ansible...@googlegroups.com
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

Mike Klebolt

unread,
Oct 30, 2018, 4:26:42 PM10/30/18
to Ansible Project

Bairava Surya

unread,
Nov 1, 2018, 1:05:44 AM11/1/18
to Ansible Project
hi all,

if my sudo is implemeted in interactive way how we can sudo to servers using become module.its does not work as expected and it throws time out exception.
Reply all
Reply to author
Forward
0 new messages