This commit is contained in:
Michael Grote 2024-10-23 21:41:00 +02:00
parent 69b7938e31
commit 47ed42905a

View file

@ -44,6 +44,7 @@
user: "{{ item.username }}"
commands: "ALL=(ALL)"
nopassword: "{{ item.allow_passwordless_sudo }}"
validation: absent #todo
loop: '{{ users }}'
when: item.allow_sudo|default(false) and item.allow_sudo is defined
#no_log: true