revert parts of "506fa8da8d" (explanation inline) #217
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
||||||
when: item.allow_sudo|default(false) and item.allow_sudo is defined
|
when: item.allow_sudo|default(false) and item.allow_sudo is defined
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Ensure users are removed from sudoers
|
- name: Ensure users are removed from sudoers # ungetestet
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/etc/sudoers.d/users-sudo-{{ item.username }}"
|
path: "/etc/sudoers.d/users-sudo-{{ item.username }}"
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
|
|
Loading…
Reference in a new issue