Skip to main content

All Questions

Filter by
Sorted by
Tagged with
51 votes
2 answers
66k views

Ansible: best practice for maintaining list of sudoers

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'"...
chishaku's user avatar
  • 4,643