fix ansible linter errors
This commit is contained in:
parent
8a8460dffc
commit
6706d75658
3 changed files with 28 additions and 23 deletions
|
|
@ -1,11 +1,6 @@
|
|||
- set_fact:
|
||||
defaultgroup:
|
||||
system: true
|
||||
state: present
|
||||
gid: "{{ omit }}"
|
||||
|
||||
- set_fact:
|
||||
group: "{{ defaultgroup|combine(currentgroup.value|d({}), {'name': currentgroup.key} ) }}"
|
||||
- name: apply overrides to current group
|
||||
set_fact:
|
||||
group: "{{ {}|combine(defaultgroup, currentgroup.value|d({}), {'name': currentgroup.key} ) }}"
|
||||
|
||||
- name: create groups
|
||||
group:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue