From e1fce955e41418507bf9cf66f805b53c23ca67d9 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 23 Oct 2024 21:39:46 +0200 Subject: [PATCH] df --- roles/mgrote_users/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mgrote_users/tasks/main.yml b/roles/mgrote_users/tasks/main.yml index 4b40e8fb..0e035719 100644 --- a/roles/mgrote_users/tasks/main.yml +++ b/roles/mgrote_users/tasks/main.yml @@ -42,7 +42,7 @@ name: "users-sudo-{{ item.username }}" state: "{{ item.state | default('present') }}" user: "{{ item.username }}" - commands: ALL + commands: ALL=(ALL) nopassword: "{{ item.allow_passwordless_sudo }}" loop: '{{ users }}' when: item.allow_sudo|default(false) and item.allow_sudo is defined