Browse Source

Merge "Change the way the task 'Validation errors' prints the output messages in order to be more readable."

changes/25/781125/24
Zuul 3 months ago committed by Gerrit Code Review
parent
commit
68a360a242
  1. 4
      roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/main.yml

4
roles/check_nfv_ovsdpdk_zero_packet_loss/tasks/main.yml

@ -211,7 +211,9 @@
# Prints all the validation errors if found.
- name: Validation errors
fail:
msg: "Failed NFV zero packet loss rules:\n{{ validation_msg | join('\n') }}"
msg:
- "Failed NFV zero packet loss rules:"
- "{{ validation_msg }}"
when:
- validation_msg is defined
- validation_msg | length > 0

Loading…
Cancel
Save