From 035c5c0728ae7a011b499e373ea7dc1193c63ac9 Mon Sep 17 00:00:00 2001 From: David Fry Date: Mon, 29 May 2023 18:05:27 +0100 Subject: [PATCH] revert loop change --- mojaloop/iac/roles/netmaker/tasks/configure.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mojaloop/iac/roles/netmaker/tasks/configure.yaml b/mojaloop/iac/roles/netmaker/tasks/configure.yaml index fce60649..cec8ec4c 100644 --- a/mojaloop/iac/roles/netmaker/tasks/configure.yaml +++ b/mojaloop/iac/roles/netmaker/tasks/configure.yaml @@ -30,7 +30,7 @@ body: "{{ lookup('template', 'createnetwork.json.j2') }}" body_format: json status_code: [200, 400] - loop: "{{ netmaker_networks | dict2items }}" + loop: "{{ netmaker_networks }}" loop_control: index_var: ipindex @@ -58,7 +58,7 @@ vars: keytag: "{{ item.0.network_name }}-{{ item.1 }}" when: "keytag not in key_response.content" - loop: "{{ netmaker_networks | subelements('node_keys') }}" + loop: "{{ netmaker_networks | subelements('node_keys') }}" - name: Get keys again uri: