From 1f363814915b58dccf2fb0d5cc9607391919aee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Tue, 9 Jul 2024 10:14:11 +0200 Subject: [PATCH] Add with_items --- ansible/roles/ansible_controller/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/ansible_controller/tasks/main.yml b/ansible/roles/ansible_controller/tasks/main.yml index 762e59a3..26352904 100644 --- a/ansible/roles/ansible_controller/tasks/main.yml +++ b/ansible/roles/ansible_controller/tasks/main.yml @@ -63,6 +63,7 @@ owner: "{{ item }}" group: "{{ item }}" mode: "600" + with_items: "{{ non_admin_usernames | union(admin_usernames) }}" - name: Include per-user custom config ansible.builtin.copy: