revert parts of "506fa8da8d" (explanation inline) #217
1 changed files with 1 additions and 1 deletions
|
@ -62,5 +62,5 @@
|
|||
path: "/etc/sudoers.d/users-sudo-{{ item.username }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
loop: '{{ users }}'
|
||||
when: (item.allow_sudo|default(false) and item.allow_sudo is defined) and (item.state == absent)
|
||||
when: (item.allow_sudo|default(false) and item.allow_sudo is defined) and (item.state is absent)
|
||||
# no_log: true
|
||||
|
|
Loading…
Reference in a new issue