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

Change-Id: Iaffdbddeec426171b9473376a5e6da92f43c9e1c
(cherry picked from commit 4282b43022)
This commit is contained in:
Emilien Macchi 2019-10-23 10:56:36 +02:00 committed by Alex Schultz
parent 84d22085c5
commit d8e6146614
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