diff --git a/roles/mgrote_users/tasks/main.yml b/roles/mgrote_users/tasks/main.yml index 03b2d95e..074abe52 100644 --- a/roles/mgrote_users/tasks/main.yml +++ b/roles/mgrote_users/tasks/main.yml @@ -42,8 +42,8 @@ name: "users-sudo-{{ item.username }}" state: "{{ item.state | default('present') }}" user: "{{ item.username }}" - commands: ALL - host: ALL + commands: "ALL" + host: "ALL" nopassword: "{{ item.allow_passwordless_sudo }}" validation: absent #todo required loop: '{{ users }}'