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