Hi Johannes, Thanks for your reply. I am much of the same opinion after some fruitless attempts. It probably is not possible to achieve what I need directly with Ansible/ssh. Sad, but I'll find some other way to work.
As why this solution was choosen, I cannot say. It's what we got to work with from joint effort of security- and OS team (I work in application support). I can only guess that having one point of access in combination with one place to manage sudo rights is the reason. Best Regards, Thomas Den tisdag 3 februari 2015 kl. 11:26:31 UTC+1 skrev Ethan Zhan: > > 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/934f5d77-093a-4b50-add3-5f42e4183043%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
