diff --git a/roles/mgrote_users/tasks/main.yml b/roles/mgrote_users/tasks/main.yml index 074abe52..f1d2dcdc 100644 --- a/roles/mgrote_users/tasks/main.yml +++ b/roles/mgrote_users/tasks/main.yml @@ -41,7 +41,7 @@ community.general.sudoers: name: "users-sudo-{{ item.username }}" state: "{{ item.state | default('present') }}" - user: "{{ item.username }}" + user: "(ALL)" commands: "ALL" host: "ALL" nopassword: "{{ item.allow_passwordless_sudo }}"