Use loop_var name in when clause
The name of the loop_var should be used instead of 'item' in when clauses. Change-Id: I8beb383f6c20425ff3bba541de37249a02364b3e
This commit is contained in:
parent
4b1635d477
commit
829d3f5f01
@ -51,8 +51,8 @@
|
||||
loop_control:
|
||||
loop_var: backend_name
|
||||
when:
|
||||
- "item in group_names"
|
||||
- "groups[item] | length > 1"
|
||||
- "backend_name in group_names"
|
||||
- "groups[backend_name] | length > 1"
|
||||
with_items:
|
||||
- "nova_api_metadata"
|
||||
- "nova_api_os_compute"
|
||||
@ -182,8 +182,8 @@
|
||||
loop_control:
|
||||
loop_var: backend_name
|
||||
when:
|
||||
- "item in group_names"
|
||||
- "groups[item] | length > 1"
|
||||
- "backend_name in group_names"
|
||||
- "groups[backend_name] | length > 1"
|
||||
with_items:
|
||||
- "nova_api_metadata"
|
||||
- "nova_api_os_compute"
|
||||
|
Loading…
x
Reference in New Issue
Block a user