diff --git a/common/deploy-steps-tasks.yaml b/common/deploy-steps-tasks.yaml index 623db72651..d1ae6fab90 100644 --- a/common/deploy-steps-tasks.yaml +++ b/common/deploy-steps-tasks.yaml @@ -92,7 +92,8 @@ failed_when: false no_log: true become: true - - debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([])) + - name: "Debug output for task which failed: 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] ###################################### @@ -111,7 +112,8 @@ failed_when: false no_log: true become: true - - debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([])) + - name: "Debug output for task which failed: 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 ################################################## @@ -131,7 +133,8 @@ failed_when: false no_log: true become: true - - debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([])) + - name: "Debug output for task which failed: 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 ######################################################## @@ -156,6 +159,7 @@ failed_when: false no_log: true become: true - - debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([])) + - name: "Debug output for task which failed: 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