From 69b7938e31f6946a9a26a1b9f2c479367b6050d1 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 23 Oct 2024 21:40:19 +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 0e035719..0ec2843e 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=(ALL) + commands: "ALL=(ALL)" nopassword: "{{ item.allow_passwordless_sudo }}" loop: '{{ users }}' when: item.allow_sudo|default(false) and item.allow_sudo is defined