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/57474C1F.8020608%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
