kayobe/playbooks
Mark Goddard f639ad0b35 Use ansible_facts to reference facts
By default, Ansible injects a variable for every fact, prefixed with
ansible_. This can result in a large number of variables for each host,
which at scale can incur a performance penalty. Ansible provides a
configuration option [0] that can be set to False to prevent this
injection of facts. In this case, facts should be referenced via
ansible_facts.<fact>.

This change updates all references to Ansible facts within Kayobe
from using individual fact variables to using the items in the
ansible_facts dictionary. This allows users to disable fact variable
injection in their Ansible configuration, which may provide some
performance improvement.

This change disables fact variable injection in the ansible
configuration used in CI, to catch any attempts to use the injected
variables.

[0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars

Story: 2007993
Task: 42464
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/791276

Change-Id: I14db53ed6e57d37bbd28dd5819e432e3fe6628b2
2021-08-21 09:57:29 +02:00
..
kayobe-base Use ansible_facts to reference facts 2021-08-21 09:57:29 +02:00
kayobe-overcloud-base Ubuntu: CI: rely on os_distribution, remove interfaces pause 2021-04-29 11:17:24 +01:00
kayobe-overcloud-host-configure-base CentOS Stream: update DNF repo file names 2021-05-11 22:50:31 +02:00
kayobe-overcloud-upgrade-base Remove iscsi deploy interface 2021-07-22 16:24:50 +01:00
kayobe-seed-base Merge "CI: test base container image build in seed jobs" 2021-06-09 14:06:05 +00:00
kayobe-seed-upgrade-base Remove references to resolv.conf workaround 2021-08-04 12:35:25 +02:00
kayobe-seed-vm-base Merge "Revert "CI: Fix libvirt errors caused by latest edk2-ovmf"" 2021-06-11 20:24:35 +00:00
kayobe-tox-molecule Fix multiple CI failures 2020-05-12 19:04:43 +02:00
README.rst Add overcloud deployment job 2018-03-15 10:47:54 +00:00

README.rst

Zuul Ansible Playbooks

This directory contains playbooks for use by Zuul. These playbooks are not used by kayobe - see ansible/.