Skip to content

Commit

Permalink
revert loop change
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed May 29, 2023
1 parent b5623fc commit 035c5c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mojaloop/iac/roles/netmaker/tasks/configure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 035c5c0

Please sign in to comment.