Merge "deploy-steps-tasks: remove duplicate "when" for paunch debug"

This commit is contained in:
Zuul 2019-10-25 04:27:58 +00:00 committed by Gerrit Code Review
commit c623c3d034
1 changed files with 3 additions and 2 deletions

View File

@ -250,9 +250,10 @@
- name: "Debug output for task: Start containers for step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when: outputs.rc is defined
when:
- enable_paunch|default(true)
- outputs.rc is defined
failed_when: outputs.rc != 0
when: enable_paunch|default(true)
tags:
- container_startup_configs