Browse Source

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)
changes/07/638507/1
James Slagle 3 years ago
committed by lshort
parent
commit
57e4ac3454
  1. 8
      common/deploy-steps-tasks.yaml

8
common/deploy-steps-tasks.yaml

@ -198,7 +198,7 @@
no_log: true
become: 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: outputs.rc is defined
failed_when: outputs.rc not in [0, 2]
@ -221,7 +221,7 @@
no_log: true
become: 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
failed_when: outputs.rc != 0
@ -245,7 +245,7 @@
no_log: true
become: 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
failed_when: outputs.rc != 0
@ -275,7 +275,7 @@
no_log: true
become: 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
failed_when: outputs.rc != 0

Loading…
Cancel
Save