Merge "Use loop_var name in when clause" into stable/rocky

This commit is contained in:
Zuul 2018-11-20 16:00:38 +00:00 committed by Gerrit Code Review
commit 24d7e3ab06
1 changed files with 4 additions and 4 deletions

View File

@ -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"