kayobe/ansible/roles/kolla-openstack/templates
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
..
aodh.conf.j2 Add support for custom Aodh configuration 2020-08-21 20:54:21 +00:00
backup.my.cnf.j2 Use mariabackup for database backups 2019-12-11 17:16:59 +00:00
barbican.conf.j2 Add missing barbican.conf support 2020-09-23 19:17:51 +00:00
blazar.conf.j2 Add support for custom Blazar configuration 2019-05-31 16:55:10 +01:00
ceilometer.conf.j2 Add support for custom Ceilometer configuration 2019-06-25 10:44:57 +01:00
cinder.conf.j2 Add extra conf for cinder and ceph 2018-01-11 17:33:07 +01:00
cloudkitty.conf.j2 Add support for custom CloudKitty configuration 2019-07-27 15:58:43 +02:00
designate.conf.j2 Add designate config override 2018-02-20 13:20:23 +01:00
galera.cnf.j2 Add support for configuring MariaDB 2018-06-27 13:42:46 +01:00
glance.conf.j2 Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00
global.conf.j2 Add support for overriding OpenStack configuration globally 2019-07-11 16:29:14 +00:00
gnocchi.conf.j2 Add support for custom Gnocchi configuration 2019-05-31 16:29:54 +01:00
grafana.ini.j2 Remove admin_user override in grafana.ini 2018-02-19 17:17:48 +00:00
heat.conf.j2 Add support for free-form configuration of heat 2017-11-16 14:04:36 +00:00
ironic-inspector.conf.j2 Remove inspector_manage_firewall variable 2019-04-09 13:53:59 +01:00
ironic.conf.j2 Use ansible_facts to reference facts 2021-08-21 09:57:29 +02:00
kafka.server.properties.j2 Add support for deploying Apache Kafka 2018-03-19 14:21:23 +00:00
keystone.conf.j2 Multiple updates for Kayobe 2019-05-20 15:30:07 +01:00
magnum.conf.j2 Support extra user configuration for magnum.conf 2017-05-11 19:03:10 +01:00
manila.conf.j2 Enable manila extra config merge #28058 2018-11-23 17:37:24 +00:00
masakari.conf.j2 Add support for custom Masakari configuration 2020-08-05 09:28:25 +01:00
ml2_conf.ini.j2 Support additional options for neutron generic switch driver config 2017-10-16 16:54:46 +00:00
murano.conf.j2 Add minimal configuration of murano 2017-07-11 18:52:06 +01:00
neutron.conf.j2 Add configuration of Neutron including genericswitch mech driver 2017-04-01 09:25:10 +01:00
nova.conf.j2 Remove nova configuration options which are not necessary in pike 2017-10-17 13:23:51 +00:00
octavia.conf.j2 Add support for a custom octavia.conf file 2018-11-22 18:55:54 +00:00
sahara.conf.j2 Add minimal configuration of sahara 2017-06-07 16:37:48 +01:00
zookeeper.cfg.j2 Add support for deploying Zookeeper 2018-03-13 16:58:12 +00:00