Configure passwordless sudo for wheel group.
This commit is contained in:
8
ansible/roles/sudo/tasks/linux.yaml
Normal file
8
ansible/roles/sudo/tasks/linux.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
- name: Configure sudoers
|
||||
copy:
|
||||
src: files/wheel
|
||||
dest: /etc/sudoers.d/wheel
|
||||
mode: 0440
|
||||
owner: root
|
||||
group: root
|
||||
validate: "visudo -cf %s"
|
||||
Reference in New Issue
Block a user