kolla-ansible/ansible/roles/common/tasks
Mark Goddard 56a07702bc Performance: use a single config file for fluentd
Currently we generate multiple fluentd configuration files for inputs,
filters, formatters and outputs.
These are then included from the main td-agent.conf configuration file.
With a large number of hosts, this can take a long time to template.

Benchmarking of templating is available at [1].

This change switches to a single fluentd configuration file, with the
include done locally. For the default template files included with Kolla
Ansible we use Jinja includes, but this does not work with templates in
a different directory. We therefore use the Ansible template lookup
plugin, which has a slightly higher overhead than a jinja include, but
far lower than generating multiple templates. This should drastically
improve the performance of this task.

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

Partially-Implements: blueprint performance-improvements

Change-Id: Ia8623be0aa861fea3e54d2c9e1c971dfd8e3afa9
2020-07-28 12:14:48 +01:00
..
bootstrap.yml Performance: Run common role in a separate play 2020-07-07 15:00:47 +00:00
check-containers.yml Performance: Run common role in a separate play 2020-07-07 15:00:47 +00:00
check.yml Enable sanity checks from kolla-ansible 2017-03-09 10:37:06 +00:00
config.yml Performance: use a single config file for fluentd 2020-07-28 12:14:48 +01:00
copy-certs.yml Refactor copy certificates task 2020-04-14 17:26:19 +00:00
deploy-containers.yml Add a job that *only* deploys updated containers 2019-09-26 17:51:14 +01:00
deploy.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
inspect.yml Simplify handler conditionals 2019-06-27 15:57:19 +00:00
main.yml Performance: Run common role in a separate play 2020-07-07 15:00:47 +00:00
precheck.yml Add Ansible group check to prechecks 2020-02-28 16:23:14 +00:00
pull.yml Performance: Run common role in a separate play 2020-07-07 15:00:47 +00:00
reconfigure.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
stop.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
upgrade.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00