184152f07e
This allows us to write out host-specific variables into the inventory from external jobs. Change-Id: I0c3d08f6446174cb38d5eebaeae1db9dceb956b2
10 lines
469 B
YAML
10 lines
469 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) }}"
|
|
additional_hostvars: "{{ write_inventory_additional_hostvars | default(omit) }}"
|
|
per_host_hostvars: "{{ write_inventory_per_host_hostvars | default(omit) }}"
|