tripleo-common/tripleo_common/tests/utils/data/overcloud-novacompute-2
James Slagle 60f25d2bcd Don't set deployments as hostvars
This patch updates config-download to not create a vars file under
group_vars for the server deployments. These variables end up as
hostvars in Ansible, which has caused many escaping problems since
hostvars are run through the templating engine.

In combination with I06c9b3256567cc57d599bd4d9af617c718d2314f, these
escaping problems should be eliminated.

Additionally, by not using hostvars (set_fact), we can save memory since
a hostvar is set on a host and persisted in memory. With many hosts and
large deployments (such as all hiera data), this would have eventually
been an issue.

Instead, an Ansible lookup is used in deployments.yaml to read
deployment data, which are now written to individual files by
config-download. This also improves readability instead of having one
big file of all deployment data.

Change-Id: Ie09fc64cf85eb532f31684f1c9808b942672ff41
Closes-Bug: #1760990
2018-04-09 15:46:03 -04:00
..
AnsibleDeployment Don't set deployments as hostvars 2018-04-09 15:46:03 -04:00
ComputeHostEntryDeployment Don't set deployments as hostvars 2018-04-09 15:46:03 -04:00
MyExtraConfigPost Don't set deployments as hostvars 2018-04-09 15:46:03 -04:00
NetworkDeployment Don't set deployments as hostvars 2018-04-09 15:46:03 -04:00