Merge "Do not format output for kubespray or openshift deployments"
This commit is contained in:
commit
7a120b64e8
@ -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
|
|
||||||
|
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user