Right now, sudo does not require a password.

I edited my sudoers file so that it requires a password for everything 
except a few commands which Ansible runs during a deployment (using the 
ansible 'command' plugin).


However, when Ansible tries to run this command with sudo:true, I get the 
"Missing 
become password" error. I can sudo this command without a password while 
logged in to the machine no problem, so it seems my sudoers file is 
correctly working. Looks like Ansible is maybe doing some internal "does 
sudo require a password" check prior? 



-- 
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/df56193e-7b83-4c17-86a7-dc2eeb70d3ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to