diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-10-28 17:11:50 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-10-28 17:11:50 -0400 |
commit | dd40ef91df598cf79e67543ec826871cbedbca9d (patch) | |
tree | 9f6801cc918db116eae22b45d48a1a2164fdcdaa /roles | |
parent | 4acfad9d05e16ba1173d45d544bddc89c5eb4ebd (diff) | |
download | openshift-dd40ef91df598cf79e67543ec826871cbedbca9d.tar.gz openshift-dd40ef91df598cf79e67543ec826871cbedbca9d.tar.bz2 openshift-dd40ef91df598cf79e67543ec826871cbedbca9d.tar.xz openshift-dd40ef91df598cf79e67543ec826871cbedbca9d.zip |
Fixing for extra_vars rename.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_ansible_inventory/templates/multi_ec2.yaml.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_ansible_inventory/templates/multi_ec2.yaml.j2 b/roles/openshift_ansible_inventory/templates/multi_ec2.yaml.j2 index 8228ab915..ce8515e17 100644 --- a/roles/openshift_ansible_inventory/templates/multi_ec2.yaml.j2 +++ b/roles/openshift_ansible_inventory/templates/multi_ec2.yaml.j2 @@ -15,10 +15,10 @@ accounts: env_vars: AWS_ACCESS_KEY_ID: {{ account.env_vars.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: {{ account.env_vars.AWS_SECRET_ACCESS_KEY }} -{% if account.all_group is defined and account.hostvars is defined%} +{% if account.all_group is defined and account.extra_vars is defined%} all_group: {{ account.all_group }} - hostvars: -{% for property, value in account.hostvars.items() %} + extra_vars: +{% for property, value in account.extra_vars.items() %} {{ property }}: {{ value }} {% endfor %} {% endif %} |