diff --git a/roles/mgrote_users/tasks/main.yml b/roles/mgrote_users/tasks/main.yml index 16015a1c..6a33a096 100644 --- a/roles/mgrote_users/tasks/main.yml +++ b/roles/mgrote_users/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: Set groups as list ansible.builtin.set_fact: - groups_as_list: "{{ ((( item.groups ) | list) | sort) | unique }}" + groups_as_list: "{{ (((item.groups) | list) | sort) | unique }}" loop: "{{ users }}" when: item.groups is defined no_log: true