added mode
This commit is contained in:
@@ -10,5 +10,6 @@
|
|||||||
path: "/etc/sudoers.d/{{ user.name }}"
|
path: "/etc/sudoers.d/{{ user.name }}"
|
||||||
create: yes
|
create: yes
|
||||||
line: "{{ user.name }} ALL=(ALL) NOPASSWD: ALL"
|
line: "{{ user.name }} ALL=(ALL) NOPASSWD: ALL"
|
||||||
|
mode: 0440
|
||||||
when: user.sudoers
|
when: user.sudoers
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user