kolla-ansible/ansible/roles/nova-cell/templates
Mark Goddard ade5bfa302 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 Kolla Ansible
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

Change-Id: I7e9d5c9b8b9164d4aee3abb4e37c8f28d98ff5d1
Partially-Implements: blueprint performance-improvements
2021-06-23 10:38:06 +01:00
..
nova.conf.d Use iSCSI multipath for libvirt 2020-08-19 07:24:51 +00:00
99-kolla-kvm.rules.j2 Make /dev/kvm permissions handling more robust 2020-07-17 17:51:18 +00:00
id_rsa Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
id_rsa.pub Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
libvirtd.conf.j2 Introduce nova_libvirt_logging_debug 2021-03-10 15:15:29 +00:00
nova-cell-bootstrap.json.j2 Make nova perms consistent between applications 2020-05-06 18:36:10 +00:00
nova-compute-ironic.json.j2 Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
nova-compute.json.j2 External Ceph: keys as variables 2020-01-22 18:16:38 +00:00
nova-conductor.json.j2 Remove policy file from nova-conductor config.json template 2020-07-03 12:52:57 +02:00
nova-libvirt.json.j2 Fix up 'Persist nova libvirt secrets in a Docker volume' 2021-06-18 19:57:43 +01:00
nova-novncproxy.json.j2 Support multiple nova cells 2019-10-16 17:42:36 +00:00
nova-serialproxy.json.j2 Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
nova-spicehtml5proxy.json.j2 Support multiple nova cells 2019-10-16 17:42:36 +00:00
nova-ssh.json.j2 Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
nova.conf.j2 Use ansible_facts to reference facts 2021-06-23 10:38:06 +01:00
qemu.conf.j2 Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
secret.xml.j2 Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
ssh_config.j2 Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00
sshd_config.j2 Copy Nova role as a basis for the Nova cell role 2019-10-01 14:48:19 +01:00