
This moves openstack metadata collection to a much more general format, instead of specifying exactly what to collect a short python script has been created that grabs all key/value pairs from the various openstack config files. Co-Authored-By: Joe Talerico <jtaleric@redhat.com> Change-Id: I6b653dac344c5ca27fa1010f345bc99a5591379e
12 lines
258 B
Django/Jinja
12 lines
258 B
Django/Jinja
[
|
|
{% for host in groups['controller'] %}
|
|
{{hostvars[host]| to_nice_json}},
|
|
{% endfor %}
|
|
{% for host in groups['compute'] %}
|
|
{{hostvars[host]| to_nice_json}},
|
|
{% endfor %}
|
|
{% for host in groups['undercloud'] %}
|
|
{{hostvars[host]| to_nice_json}}
|
|
{% endfor %}
|
|
]
|