Merge "Do not format output for kubespray or openshift deployments"

This commit is contained in:
Zuul 2018-01-31 14:16:11 +00:00 committed by Gerrit Code Review
commit 7a120b64e8
2 changed files with 0 additions and 12 deletions

View File

@ -179,9 +179,3 @@ outputs:
shell: | shell: |
{{kubespray_command}} 2>&1 | tee {{playbook_dir}}/kubespray/playbook.log {{kubespray_command}} 2>&1 | tee {{playbook_dir}}/kubespray/playbook.log
exit ${PIPESTATUS[0]} exit ${PIPESTATUS[0]}
register: outputs
- name: print kubespray outputs
debug:
var: (outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
failed_when: outputs.rc != 0
when: outputs.rc is defined

View File

@ -172,9 +172,3 @@ outputs:
shell: | shell: |
{{openshift_command}} 2>&1 | tee {{playbook_dir}}/openshift/playbook.log {{openshift_command}} 2>&1 | tee {{playbook_dir}}/openshift/playbook.log
exit ${PIPESTATUS[0]} exit ${PIPESTATUS[0]}
register: outputs
- name: print openshift outputs
debug:
var: (outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
failed_when: outputs|failed
when: outputs is defined