Remove "when failed" from debug task names

This commit removes the "when failed" from the task title to eliminate
confusion.

These tasks always run to show the debug output for the previous task,
regardless of whether the the previous task failed or not. They will
show the debug output as long as the previous task finished (success or
failure).

Change-Id: I4e52bdc18885f13793550e5032fb1316a13b248c
(cherry picked from commit 13aaf52a46)
This commit is contained in:
James Slagle 2018-08-30 12:07:47 -04:00
parent 624c775bb0
commit dfb3e757de
1 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Run puppet host configuration for step {{ step }}"
- name: "Debug output for task: Run puppet host configuration for step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when:
@ -191,7 +191,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Run docker-puppet tasks (generate config) during step {{ step }}"
- name: "Debug output for task: Run docker-puppet tasks (generate config) during step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when: outputs.rc is defined
@ -215,7 +215,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Start containers for step {{ step }}"
- 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
@ -246,7 +246,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Run docker-puppet tasks (bootstrap tasks) for step {{ step }}"
- name: "Debug output for task: Run docker-puppet tasks (bootstrap tasks) for step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when: outputs.rc is defined