Skip to content

Commit 5e2cfa9

Browse files
authored
Merge pull request #55 from stackhpc/fix-loop-label
Fix loop label syntax
2 parents be84bcb + f142ae3 commit 5e2cfa9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

roles/os_projects/tasks/projects.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@
167167
username: "{{ item.0.users[0].name }}"
168168
password: "{{ item.0.users[0].password }}"
169169
loop_control:
170-
label:
171-
project: "{{ item.0.name }}"
172-
keypair: "{{ item.1.name }}"
170+
label: "{{ item.0.name }}: {{ item.1.name }}"
173171

174172
- name: Ensure quotas are set
175173
openstack.cloud.quota:
@@ -232,7 +230,5 @@
232230
- skip_missing: true
233231
when: item.1.openrc_file is defined
234232
loop_control:
235-
label:
236-
project: "{{ item.0.name }}"
237-
user: "{{ item.1.name }}"
233+
label: "{{ item.0.name }}: {{ item.1.name }}"
238234
delegate_to: localhost

0 commit comments

Comments
 (0)