fix few small bugs #160
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
groups_as_list: "{{ (groups_as_list | default([]) + item.groups.split(',')) | map('trim') | list | sort | unique }}"
|
||||
loop: '{{ users }}'
|
||||
when: item.groups is defined
|
||||
ignore_errors: true
|
||||
|
||||
- name: create groups
|
||||
ansible.builtin.group:
|
||||
|
|
Loading…
Reference in a new issue