So I'm kind of SOL then if Ansible removes "sudo"

On Thursday, May 26, 2016 at 3:19:03 PM UTC-4, Johannes Kastl wrote:
>
> On 26.05.16 21:13 Sam Sen wrote: 
> > Ok, so then why does it work if I add "sudo" in front of the command? 
>
> Because then ansible starts a shell and calls that exact command you 
> tell it to run. And thus sudo kicks in, as the command is allowed, and 
> runs it. 
>
> Johannes 
>
>

-- 
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/c2a79417-e710-4ab6-a1a2-5df85a9659a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to