revert parts of "506fa8da8d" (explanation inline) #217

Merged
mg merged 33 commits from dbg into master 2024-10-23 22:55:42 +02:00
Showing only changes of commit 7d507da49a - Show all commits

View file

@ -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