action: 'lineinfile dest=/etc/sudoers regexp=^nrpe line="nrpe ALL=(ALL) NOPASSWD: /usr/sbin/vzlicview" state=present'
On Fri, Jul 10, 2015 at 3:37 PM, Ed Greenberg <[email protected]> wrote: > Can somebody help me get this to work? > > The colon following NOPASSWD is causing me fits. > > - name: add permission for nrpe to access vzlicview > action: lineinfile dest=/etc/sudoers regexp=^nrpe line="nrpe > ALL=(ALL) NOPASSWD: /usr/sbin/vzlicview" state=present > > I've tried a bunch of permutations of quotes, but no luck. > > Many thanks, > > Ed G > > -- > 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/d49bc9cc-ebf5-42a4-8109-a71210d7360a%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/CAJ5XC8mK7Et3upUSiMnFb3nUVJ%2B_i%3D40i%3D0but2RrZ492rJB0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
