This commit is contained in:
Michael Grote 2024-10-23 21:48:42 +02:00
parent c07cf038f2
commit 31b48cb6c8

View file

@ -41,7 +41,7 @@
community.general.sudoers: community.general.sudoers:
name: "users-sudo-{{ item.username }}" name: "users-sudo-{{ item.username }}"
state: "{{ item.state | default('present') }}" state: "{{ item.state | default('present') }}"
user: "(ALL)" user: "{{ item.username }} ALL=(ALL)"
commands: "ALL" commands: "ALL"
host: "ALL" host: "ALL"
nopassword: "{{ item.allow_passwordless_sudo }}" nopassword: "{{ item.allow_passwordless_sudo }}"