Hello All, I found that the problem was my use of the "-c local" flag in my CLI invocation of the playbook. Additionally I upgraded from Ansible version 1.7.1 to version 1.7.2
Originally the command that failed was: * ansible-playbook -v -c local -i localhost someplaybook.yml* After changing the command to * ansible-playbook -v -i localhost someplaybook.yml* The playbook ran as expected. Just wanted to post a solution for everyone, in case of future similar problems. On Tuesday, November 11, 2014 2:40:59 PM UTC-5, Joshua Burke wrote: > > Hello, > > While attempting to provision a Digital Ocean virtual server my playbook > needs to create two groups: > - sudousers > - sshusers > > Creation of the virtual server is successful however creating the groups > fails with the message: > >> msg: Failed to find required executable groupadd > > > The OS is Ubuntu 14.04 LTS, freshly provisioned. > > Sending the which groupadd command after SSH to the server yeilds: > > which groupadd > /usr/sbin/groupadd > > Sending the command groupadd results in a help page, so the executable is > definitely there. > > Ansible versions: > - ansible 1.7.1 > - ansible-playbook 1.7.1 > > Any ideas what I may be doing wrong here? > -- 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/b9f9a4d7-168c-405d-83fc-d44271c4226c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
