Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
ansible 2.4 uses with_*, not loop
Browse files Browse the repository at this point in the history
  • Loading branch information
larsks committed Nov 3, 2018
1 parent 2672fc3 commit 47d118a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/postconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ resources:
command: >-
openstack --os-cloud overcloud
flavor create {{ item.item.name }}
--id {{ item.item.id }} --ram {{ item.item.ram }}
--ram {{ item.item.ram }}
--vcpus {{ item.item.vcpus }} --disk {{ item.item.disk }}
when: item is failed
with_items: "{{ flavor_check.results }}"
Expand All @@ -198,7 +198,7 @@ resources:
openstack flavor set
{%for prop in item.properties.items()%}--property
{{prop.0}}={{prop.1}} {%endfor %} {{ item.name }}
loop: "{{ nova_flavors }}"
with_items: "{{ nova_flavors }}"
NovaFlavorsDeployment:
type: OS::Heat::SoftwareDeploymentGroup
Expand Down

0 comments on commit 47d118a

Please sign in to comment.