Merge "Change the way the task 'Validation errors' prints the output messages in order to be more readable."
This commit is contained in:
commit
68a360a242
|
@ -211,7 +211,9 @@
|
||||||
# Prints all the validation errors if found.
|
# Prints all the validation errors if found.
|
||||||
- name: Validation errors
|
- name: Validation errors
|
||||||
fail:
|
fail:
|
||||||
msg: "Failed NFV zero packet loss rules:\n{{ validation_msg | join('\n') }}"
|
msg:
|
||||||
|
- "Failed NFV zero packet loss rules:"
|
||||||
|
- "{{ validation_msg }}"
|
||||||
when:
|
when:
|
||||||
- validation_msg is defined
|
- validation_msg is defined
|
||||||
- validation_msg | length > 0
|
- validation_msg | length > 0
|
||||||
|
|
Loading…
Reference in New Issue