
Add the groups from the "groups" ansible variable to the "children" of the created inventory. Change-Id: I6c797ff939f8198d5c0928558df8ed04bec14efd
8 lines
303 B
YAML
8 lines
303 B
YAML
- name: Write inventory file
|
|
write_inventory:
|
|
dest: "{{ write_inventory_dest }}"
|
|
hostvars: "{{ hostvars }}"
|
|
groups: "{{ groups }}"
|
|
include_hostvars: "{{ write_inventory_include_hostvars | default(omit) }}"
|
|
exclude_hostvars: "{{ write_inventory_exclude_hostvars | default(omit) }}"
|