That is going to trigger ssh as root. Is ssh usage restricted to root only 
on the jumpbox or are you just trying to ssh to another system as the root 
user (in which case ssh -l root 1.1.1.1 would work)?

On Tuesday, February 3, 2015 at 5:26:31 AM UTC-5, Ethan Zhan wrote:
>
> Hi,
>
>        I'm in trouble with how to use ansible on jumpbox, here is the 
> issue.
>
>        from jumpbox I have to use command  *sudo ssh box_ip*  to get 
> login with root permission.
>
>        How can I let ansible know to use sudo ssh instead of ssh command 
> to execute ?
>
> Thanks
> Ethan
>

-- 
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/79a8d16c-0bd9-430c-9cfa-c946c624a830%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to