dfgdf
Some checks failed
ansible-lint / gitleaks (pull_request) Successful in 3s
ansible-lint / Ansible Lint (pull_request) Failing after 29s

This commit is contained in:
Michael Grote 2024-10-23 22:02:37 +02:00
parent 066a72924f
commit 7d507da49a

View file

@ -62,5 +62,5 @@
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') }}"
loop: '{{ users }}' 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 # no_log: true