kolla-ansible/ansible/roles
Mark Goddard 496904d650 Performance: use import_tasks for register and bootstrap
Including tasks has a performance penalty when compared with importing
tasks. If the include has a condition associated with it, then the
overhead of the include may be lower than the overhead of skipping all
imported tasks. In the case of the register.yml and bootstrap.yml
includes, all of the tasks in the included file use run_once: True.
The run_once flag improves performance at scale drastically, so
importing these tasks unconditionally will have a lower overhead than a
conditional include task.  It therefore makes sense to switch to use
import_tasks there.

See [1] for benchmarks of run_once.

[1] https://github.com/stackhpc/ansible-scaling/blob/master/doc/run-once.md

Change-Id: Ic67631ca3ea3fb2081a6f8978e85b1522522d40d
Partially-Implements: blueprint performance-improvements
2020-08-28 16:31:04 +00:00
..
aodh Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
barbican Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
baremetal Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
bifrost Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
blazar Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
ceilometer Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
certificates Replace internal and external VIP CA with root CA 2020-06-16 11:46:34 +01:00
chrony Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
cinder Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
cloudkitty Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
collectd Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
common Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
cyborg Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
designate Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
destroy remove useless files from destroy role 2020-08-22 23:21:00 +08:00
elasticsearch Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
etcd Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
freezer Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
glance Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
gnocchi Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
grafana Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
haproxy Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
haproxy-config Merge "Avoid multiple haproxy restarts after reconfiguration" 2020-04-26 15:41:31 +00:00
heat Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
horizon Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
influxdb Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
ironic Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
iscsi Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
kafka Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
karbor Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
keystone Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
kibana Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
kuryr Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
magnum Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
manila Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
mariadb Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
masakari Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
memcached Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
mistral Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
module-load Drop support for /etc/modules 2020-08-25 20:20:57 +01:00
monasca Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
multipathd Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
murano Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
neutron Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
nova Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
nova-cell Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
octavia Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
openvswitch Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
ovn Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
ovs-dpdk Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
panko Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
placement Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
prechecks Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
prometheus Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
prune-images Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
qdrouterd Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
qinling Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
rabbitmq Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
rally Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
redis Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
sahara Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
searchlight Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
senlin Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
service-cert-copy/tasks Add support for encrypting backend Keystone HAProxy traffic 2020-04-09 09:22:55 +00:00
service-ks-register Remove delegate_to from service-ks-register tasks 2019-09-26 10:38:35 +01:00
service-precheck Add Ansible group check to prechecks 2020-02-28 16:23:14 +00:00
service-rabbitmq Configure RabbitMQ user tags in nova-cell role 2020-05-15 16:02:46 +01:00
service-stop/tasks Fix kolla-ansible stop with heterogeneous hosts 2020-03-23 17:21:53 +00:00
skydive Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
solum Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
storm Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
swift Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
tacker Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
telegraf Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
tempest Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
trove Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
vitrage Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
vmtp Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
watcher Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00
zookeeper Performance: replace unconditional include_tasks with import_tasks 2020-08-28 16:12:03 +00:00
zun Performance: use import_tasks for register and bootstrap 2020-08-28 16:31:04 +00:00