dd
Some checks failed
ci/woodpecker/push/gitleaks Pipeline failed
ci/woodpecker/pull_request_closed/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint unknown status
ci/woodpecker/pr/ansible-lint Pipeline failed
ci/woodpecker/pull_request_closed/ansible-lint Pipeline was successful
Some checks failed
ci/woodpecker/push/gitleaks Pipeline failed
ci/woodpecker/pull_request_closed/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint unknown status
ci/woodpecker/pr/ansible-lint Pipeline failed
ci/woodpecker/pull_request_closed/ansible-lint Pipeline was successful
This commit is contained in:
parent
304eda8371
commit
897b2fbc23
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