This commit is contained in:
Michael Grote 2024-10-23 21:44:44 +02:00
parent b884bdf9d3
commit 3f2588c0ce

View file

@ -42,8 +42,8 @@
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 commands: "ALL"
host: ALL host: "ALL"
nopassword: "{{ item.allow_passwordless_sudo }}" nopassword: "{{ item.allow_passwordless_sudo }}"
validation: absent #todo required validation: absent #todo required
loop: '{{ users }}' loop: '{{ users }}'