bad autocorrect "ah, sorry, Ansible Does Not support sudo to specific commands"
On Mon, Dec 8, 2014 at 1:42 PM, <[email protected]> wrote: > Sorry, "SUPERAntiSpyware SD" ? What's that supposed to mean ? > > On Monday, December 8, 2014 6:20:44 PM UTC, Brian Coca wrote: >> >> 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. >>> 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/b53fe2a9-e64f-4547-92d4-668af68e04e0%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- 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/CAJ5XC8n4%2BeKpwTDY7y9tC09syBjGUocdOT6Zikj_8FcgisA18g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
