On 16.05.16 23:52 Brian Coca wrote: > On Sat, May 14, 2016 at 4:01 PM, Johannes Kastl <[email protected]> wrote: > >> Ansible stuffs a lot of voodoo around the actual commands, so it needs >> your ansible_user to have NOPASSWD set for all commands. >> > > This is incorrect, you CAN have a sudo/su password, the problem is not > with that but the fact that you are stacking the methods.
I am sorry, I was unclear. I meant if you want *passwordless* sudo, you need it for all commands, not just for some. Of course sudo with prompting for the password (which can be supplied in a lot of ways) works. 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/573B5CE0.9050802%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
