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 eecf4f5448 - Show all commits

View file

@ -42,9 +42,9 @@
name: "users-sudo-{{ item.username }}" name: "users-sudo-{{ item.username }}"
state: "{{ item.state | default('present') }}" state: "{{ item.state | default('present') }}"
user: "{{ item.username }}" user: "{{ item.username }}"
commands: "ALL=(ALL)" commands: ALL
nopassword: "{{ item.allow_passwordless_sudo }}" nopassword: "{{ item.allow_passwordless_sudo }}"
validation: absent #todo validation: absent #todo required
loop: '{{ users }}' loop: '{{ users }}'
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