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

Change-Id: Iaffdbddeec426171b9473376a5e6da92f43c9e1c
This commit is contained in:
Emilien Macchi 2019-10-23 10:56:36 +02:00
parent 5ffad3a3f0
commit 4282b43022
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