ENH: added sudoers validation
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
create: yes
|
create: yes
|
||||||
line: "{{ item }} ALL=(ALL) NOPASSWD: ALL"
|
line: "{{ item }} ALL=(ALL) NOPASSWD: ALL"
|
||||||
mode: 0440
|
mode: 0440
|
||||||
|
validate: visudo -cf %s
|
||||||
when: sudoers
|
when: sudoers
|
||||||
loop: "{{ userlist }}"
|
loop: "{{ userlist }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user