kayobe/ansible/roles/kolla-ansible-host-vars/defaults/main.yml
Mark Goddard b12f9e35e5 Performance: Parallelise Kolla Ansible host vars generation
Kayobe generates a host_vars file for each host in the Kolla Ansible
inventory. These contain network interfaces and other host-specific
things. Currently this is done by iterating over all hosts, which does
not scale well with a large number of hosts.

This change extracts the host vars generation into a separate role, and
executes it in a play targeted at all hosts, with delegate_to:
localhost. This ensures that host variable files are generated in
parallel.

Story: 2007993
Task: 40629

Change-Id: Iae75e17024adee9c2874c14d3ed36f4c87ba48d7
2020-09-22 17:06:04 +01:00

13 lines
435 B
YAML

---
# List of names of host variables to pass through from kayobe hosts to
# kolla-ansible hosts.
kolla_ansible_pass_through_host_vars:
# Dict mapping names of variables in kolla_ansible_pass_through_host_vars to
# the variable to use in kolla-ansible. If a variable name is not in this
# mapping the kayobe name is used.
kolla_ansible_pass_through_host_vars_map:
# Path to the Kolla Ansible inventory.
kolla_ansible_inventory_path: