Display output from machine provisioning script

We have jobs using this role in ospphase0 that are failing at the
machine provisioning step, and don't have access slave presently.  This
change will let us see the output from the machine provisioning step in
the job output.

This role is used internally, and we have jobs failing

Change-Id: Ia0db5a65e64abfb4f2f161cf71c7076a18257449
This commit is contained in:
Matt Young 2017-08-11 09:54:29 -04:00 committed by Raoul Scarazzini
parent ab17df4d04
commit 7da50c05fa

View File

@ -1,6 +1,6 @@
- name: Provision script execution
shell: >
set -o pipefail &&
{{ baremetal_provisioning_script }} 2>&1 {{ timestamper_cmd }} >
{{ baremetal_provisioning_script }} 2>&1 {{ timestamper_cmd }} | tee
{{ baremetal_provisioning_log }}
when: step_provide_undercloud|bool