Use ServerOsCollectConfigData value in output
authorJames Slagle <jslagle@redhat.com>
Fri, 7 Jul 2017 11:45:26 +0000 (07:45 -0400)
committerJames Slagle <jslagle@redhat.com>
Mon, 10 Jul 2017 13:36:22 +0000 (09:36 -0400)
Just use the value from the ServerOsCollectConfigData resource in the
output instead of recalculating the value for each role via jinja.

Change-Id: I4e3bf4f25c9a8f677d5d177eb409594193a86405

overcloud.j2.yaml

index d15b8d4..a61169b 100644 (file)
@@ -862,10 +862,7 @@ outputs:
 {% endfor %}
   ServerOsCollectConfigData:
     description: The os-collect-config configuration associated with each server resource
-    value:
-{% for role in roles %}
-      {{role.name}}: {get_attr: [{{role.name}}, attributes, os_collect_config]}
-{% endfor %}
+    value: {get_attr: [ServerOsCollectConfigData, value]}
   VipMap:
     description: Mapping of each network to VIP addresses. Also includes the Redis VIP.
     value: