Merge "Loop variable name conflict resolution"
This commit is contained in:
commit
cc61bd2163
roles/validations/tasks
@ -30,7 +30,8 @@
|
||||
jsonres: 'results[*].Status'
|
||||
|
||||
- fail:
|
||||
msg: "Validation failed: some of the validations has failed."
|
||||
when:
|
||||
- item != "PASSED"
|
||||
msg: "Validation failed with {{ validation_status }}: some of the validations has failed. {{ status }}"
|
||||
when: validation_status != "PASSED"
|
||||
loop: "{{ status }}"
|
||||
loop_control:
|
||||
loop_var: validation_status
|
||||
|
@ -26,8 +26,9 @@
|
||||
jsonres: 'results[*].Status'
|
||||
|
||||
- fail:
|
||||
msg: "Validation failed: some of the validations has failed."
|
||||
when:
|
||||
- item != "PASSED"
|
||||
msg: "Validation failed with {{ validation_status }}: some of the validations has failed. {{ status }}"
|
||||
when: validation_status != "PASSED"
|
||||
loop: "{{ status }}"
|
||||
loop_control:
|
||||
loop_var: validation_status
|
||||
when: v_action == "run"
|
||||
|
Loading…
x
Reference in New Issue
Block a user