ah, sorry, Ansible Does Not SUPERAntiSpyware SD To Specific commands On Dec 8, 2014 12:52 PM, <[email protected]> wrote:
> 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 > <https://groups.google.com/d/msgid/ansible-project/acea1370-6c2d-44e2-9c1c-b389a6a00122%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJ5XC8m2rN%3DqodvMg5mcAq-qdrSSzSEBpwxDoOV92PH8yA8cQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
