Browse Source

Merge pull request #9761 from mgugino-upstream-stage/fix-aws-elb-dict

Fix aws elb dictionary fact for dns
OpenShift Merge Robot 6 years ago
parent
commit
abde2f93e4
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')}}"