All Questions
1 question
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'"...