From bebe3c2e847a86210e6c0188f39288dc9a724eb5 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Sat, 12 Dec 2020 23:10:18 +0100 Subject: [PATCH] Fix linter warnings in users role --- roles/users/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/users/tasks/main.yml b/roles/users/tasks/main.yml index bc29637..ad93bc1 100644 --- a/roles/users/tasks/main.yml +++ b/roles/users/tasks/main.yml @@ -37,7 +37,7 @@ name: "{{ item.logname }}" groups: sudo append: yes - when: item.sudo == true + when: item.sudo with_items: "{{ users }}" - name: Check if /etc/aliases exists