Ansible: best practice for maintaining list of sudoers
Ansible: best practice for maintaining list of sudoers Question: In the documentation, there is an example of using the lineinfile module to edit /etc/sudoers. – lineinfile: “dest=/etc/sudoers state=present regexp=’^%wheel’ line=’%wheel ALL=(ALL) NOPASSWD: ALL'” Feels a bit hackish. I assumed there would be something in the user module to handle this but there doesn’t appear to …