Thanks brian. I did what you suggested and I am getting "Missing sudo password" even though that particular command is set as NOPASSWD in /etc/sudoers.d/ for the particular user. Running the command manually via cli does not request a password. Thats why I used sudo directly in the shell module but that no longer works.
On Monday, December 8, 2014 5:32:01 PM UTC, Brian Coca wrote: > > Do not use sudo inside shell, this is not supported, we recommend > using ansible's sudo facility. > > - name: Run fresque > shell: ... > sudo: true > > If sudo is not set to NOPASSWORD you'll need to invoke ansible with > --ask-sudo-pass > -- > Brian Coca > -- 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/acea1370-6c2d-44e2-9c1c-b389a6a00122%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
