tripleo-ansible/tripleo_ansible/ansible_plugins
James Slagle 456425f37a Add action plugin for all_nodes data
This patch adds an action plugin to render the all_nodes group_vars for
the overcloud. This plugin will produce the same json structure as the
all_nodes.j2 template in the tripleo-heiradata role. Once
deploy_steps_playbook.yaml is migrated over to use the new action
plugin, the all_nodes.j2 template can be removed.

At scale, the template was taking an unusual amount of time to render.
Switching to native python with the action plugin results in improved
performance. In a 150 node environment, using the action plugin dropped
the render time from 7 minutes to 30 seconds.

Using an action plugin will also allow more easier unit testing (to be
forthcoming), and also add the opportunity to use debug statements to
show errors.

Change-Id: I92113589b98d7c1f9c05e1ea0938a03d95b7dd15
(cherry picked from commit 918452da7f)
2020-01-29 20:37:50 +00:00
..
action Add action plugin for all_nodes data 2020-01-29 20:37:50 +00:00
callback Revert "Revert "Import the json_error callback from tripleo-common"" 2019-06-19 18:29:34 +00:00
filter Handle range in the cpu_mask conversion for DPDK cores 2019-12-03 13:16:10 +00:00
module_utils Update project structure 2019-06-05 14:27:22 +00:00
modules Merge "paunch: only read container config JSON which starts by "hashed-"" into stable/train 2020-01-09 21:42:06 +00:00