Browse Source

Fix aws elb dictionary fact for dns

This commit ensures we use proper element of registered
output.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1569631
Michael Gugino 6 years ago
parent
commit
894faf2553
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_aws/tasks/build_elb_dict.yml

+ 1 - 1
roles/openshift_aws/tasks/build_elb_dict.yml

@@ -9,4 +9,4 @@
 # roles/lib_utils/filters/oo_filters.py
 - name: set elb fact dictionary
   set_fact:
-    l_openshift_aws_elb_facts: "{{ elb_res | lib_utils_oo_list_of_dict_to_dict_from_key('name')}}"
+    l_openshift_aws_elb_facts: "{{ elb_res['elbs'] | lib_utils_oo_list_of_dict_to_dict_from_key('name')}}"