From 47d118a1b4bfe84e2c5e71f7f4e11f3adfbe5419 Mon Sep 17 00:00:00 2001 From: Lars Kellogg-Stedman Date: Fri, 2 Nov 2018 18:47:54 -0400 Subject: [PATCH] ansible 2.4 uses with_*, not loop --- templates/postconfig.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/postconfig.yaml b/templates/postconfig.yaml index 8b4bd9b..6d27bf9 100644 --- a/templates/postconfig.yaml +++ b/templates/postconfig.yaml @@ -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 }}" @@ -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