mgrote_users: fix filter #161
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: set groups as list
|
||||
ansible.builtin.set_fact:
|
||||
groups_as_list: "{{ (groups_as_list | default([]) + item.groups.split(',')) | map('trim') | list | sort | unique }}"
|
||||
groups_as_list: "{{ (((((groups_as_list | default([]) + item.groups.split(','))) | map('trim')) | list) | sort) | unique }}"
|
||||
loop: '{{ users }}'
|
||||
when: item.groups is defined
|
||||
|
||||
|
|
Loading…
Reference in a new issue