kayobe/ansible
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
..
filter_plugins Avoid setting IPADDR=0.0.0.0 2020-09-16 15:29:14 +02:00
group_vars Performance: Parallelise Kolla Ansible host vars generation 2020-09-22 17:06:04 +01:00
roles Performance: Parallelise Kolla Ansible host vars generation 2020-09-22 17:06:04 +01:00
test_plugins Add a command to check network connectivity between hosts 2017-11-02 12:12:07 +00:00
baremetal-compute-inspect.yml Allow to customise hardware inspection timeouts 2020-06-22 12:24:00 +02:00
baremetal-compute-manage.yml Fix kayobe baremetal compute commands 2020-06-11 17:59:31 +01:00
baremetal-compute-provide.yml Fix kayobe baremetal compute commands 2020-06-11 17:59:31 +01:00
baremetal-compute-rename.yml Update packages in virtualenvs 2019-08-15 11:01:49 +00:00
baremetal-compute-serial-console-post-config.yml Fix baremetal serial console autoenable 2019-10-21 14:16:20 +01:00
baremetal-compute-serial-console.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
bootstrap.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
compute-node-discovery.yml Switch to generic package module 2019-12-09 10:21:20 +00:00
compute-node-provide.yml Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
container-image-build.yml Add monasca to image regex list 2018-09-05 13:52:27 +01:00
container-image-builders-check.yml Add an ansible group for container image builders 2017-11-21 17:50:32 +00:00
dell-compute-node-boot-mode.yml use include_tasks and import_playbook instead of include 2019-01-18 12:22:38 +00:00
dell-compute-node-discovery.yml use include_tasks and import_playbook instead of include 2019-01-18 12:22:38 +00:00
dell-compute-node-inventory.yml Remove config-mgmt group, instead use localhost 2017-12-01 11:21:00 +00:00
dell-switch-bmp.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
dev-tools.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
disable-cloud-init.yml Don't restart cloud-init when disabling it 2018-03-20 10:43:02 +00:00
disable-glean.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
disable-selinux.yml Make Kayobe code compatible with Python 3 2020-02-27 11:10:29 +00:00
dnf.yml Move dnf.yml earlier in host configure workflow 2020-09-11 19:59:02 +00:00
docker-devicemapper.yml Use docker_custom_config variable 2019-10-25 17:08:56 +01:00
docker-registry.yml Docker registry TLS 2020-07-24 09:11:45 +01:00
docker.yml Use docker_custom_config variable 2019-10-25 17:08:56 +01:00
drac-bios.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
drac-boot-order.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
drac-facts.yml Add support for monitoring nodes 2017-05-29 16:52:17 +01:00
dump-config.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
external-net.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
host-command-run.yml Stop gathering facts for host command run 2019-11-05 11:59:28 +01:00
host-package-update.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
idrac-bootstrap-one.yml Updating Jinja filters to conform to Ansible 2.5+ 2019-06-28 16:34:24 +01:00
idrac-bootstrap.yml Switch to generic package module 2019-12-09 10:21:20 +00:00
inspection-store.yml Add support for stopping overcloud services 2020-03-26 14:34:07 +00:00
ip-allocation.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
ip-routing.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
kayobe-ansible-user.yml Avoid unconditional fact gathering 2020-04-08 16:56:32 +00:00
kayobe-target-venv.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
kolla-ansible-user.yml Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
kolla-ansible.yml Performance: Parallelise Kolla Ansible host vars generation 2020-09-22 17:06:04 +01:00
kolla-bifrost-hostvars.yml Fix kayobe overcloud provision without seed in limit 2019-11-11 09:47:20 +00:00
kolla-bifrost.yml Remove legacy Ironic driver references 2018-11-06 11:34:11 +00:00
kolla-build.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
kolla-host.yml Updating Jinja filters to conform to Ansible 2.5+ 2019-06-28 16:34:24 +01:00
kolla-openstack.yml Add support for custom Aodh configuration 2020-08-21 20:54:21 +00:00
kolla-pip.yml Run kolla-ansible bootstrap-servers as kolla user 2020-04-16 20:44:34 +01:00
kolla-target-venv.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
luks.yml Add support for encrypted block devices 2020-05-20 15:49:51 +00:00
lvm.yml Performance: skip LVM configuration if no groups configured 2020-09-16 13:22:04 +00:00
mdadm.yml Add support for configuring software RAID arrays using mdadm 2019-03-26 15:16:20 +00:00
network-connectivity.yml Add a command to check network connectivity between hosts 2017-11-02 12:12:07 +00:00
network.yml Merge "Allow OVS bridges to connect directly to interface" 2020-05-18 11:23:22 +00:00
opensm.yml Add support for stopping overcloud services 2020-03-26 14:34:07 +00:00
overcloud-bios-raid.yml Updating Jinja filters to conform to Ansible 2.5+ 2019-06-28 16:34:24 +01:00
overcloud-deprovision.yml Updating Jinja filters to conform to Ansible 2.5+ 2019-06-28 16:34:24 +01:00
overcloud-docker-sdk-upgrade.yml Update packages in virtualenvs 2019-08-15 11:01:49 +00:00
overcloud-etc-hosts-fixup.yml RabbitMQ upgrade fails due to stale /etc/hosts 2018-08-20 17:08:46 +01:00
overcloud-extras.yml Add support for stopping overcloud services 2020-03-26 14:34:07 +00:00
overcloud-grafana-configure.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
overcloud-hardware-inspect.yml Allow to customise hardware inspection timeouts 2020-06-22 12:24:00 +02:00
overcloud-host-image-workaround-resolv.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
overcloud-introspection-data-save.yml Fix Kayobe overcloud introspection data save 2020-02-21 15:53:07 +00:00
overcloud-introspection-rules-dell-lldp-workaround.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
overcloud-introspection-rules.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
overcloud-inventory-discover.yml Sort overcloud inventory hosts and groups 2019-08-12 18:14:49 +01:00
overcloud-ipa-build.yml Support installing packages in IPA images 2019-11-28 16:32:30 +00:00
overcloud-ipa-images.yml IPA: Switch to IPA builder and CentOS 8 2020-06-12 17:24:31 +01:00
overcloud-provision.yml Updating Jinja filters to conform to Ansible 2.5+ 2019-06-28 16:34:24 +01:00
overcloud-service-config-save.yml Support including and excluding files from config save 2019-02-04 09:21:07 +00:00
physical-network.yml Add support for configuring Cumulus switches with NCLU 2020-03-03 20:46:32 +00:00
pip.yml Remove activate-virtualenv and deactivate-virtualenv roles 2020-02-20 15:28:56 +00:00
provision-net.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
public-openrc.yml Use public FQDN for OS_AUTH_URL in public-openrc.sh 2018-12-10 10:18:57 +00:00
seed-deploy-containers.yml Add framework to deploy user-defined containers on seed 2020-06-10 19:34:04 +01:00
seed-hypervisor-libvirt-host.yml Merge pull request #91 from stackhpc/libvirt-galaxy 2018-01-02 12:59:23 +00:00
seed-introspection-rules.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
seed-ipa-build.yml IPA: Switch to IPA builder and CentOS 8 2020-06-12 17:24:31 +01:00
seed-service-upgrade-prep.yml IPA: Switch to IPA builder and CentOS 8 2020-06-12 17:24:31 +01:00
seed-vm-deprovision.yml Fix seed VM provision failure on Ansible 2.6 2019-01-29 18:55:50 +00:00
seed-vm-provision.yml Add seed VM provisioning CI job 2020-06-16 17:19:47 +01:00
snat.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
ssh-known-host.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
swift-block-devices.yml Support for Ceph and Swift storage networks, and improvements to Swift 2019-04-24 12:40:20 +00:00
swift-rings.yml Support for Ceph and Swift storage networks, and improvements to Swift 2019-04-24 12:40:20 +00:00
sysctl.yml Persistent sysctls broken due to missing .conf suffix 2018-07-13 19:36:21 +01:00
timezone.yml Remove support for CentOS 7 and Python 2 2020-05-28 10:25:51 +01:00
users.yml Tag all (well, some of) the things (plays) 2017-12-19 16:58:21 +00:00
wipe-disks.yml Add support for encrypted block devices 2020-05-20 15:49:51 +00:00