--- - name: setup HEAT outputs via update prepare shell: | set -o pipefail source {{ undercloud_rc }} bash {{ overcloud_update_prepare_script }} 2>&1 {{ timestamper_cmd }} > \ {{ working_dir }}/overcloud_update_prepare.log register: overcloud_update_prepare ignore_errors: true - block: - name: print stack failures shell: | set -o pipefail source {{ undercloud_rc }} openstack stack failures list --long {{ overcloud_stack_name }} {{ timestamper_cmd }} | \ tee {{ working_dir }}/overcloud_failed_update_prepare.log - name: print resource list shell: | set -o pipefail source {{ undercloud_rc }} openstack stack resource list --filter status=FAILED --nested-depth 5 {{ overcloud_stack_name }} {{ timestamper_cmd }} | \ tee {{ working_dir }}/overcloud_failed_prepare_resources.log - name: was the overcloud update prepare successful. fail: msg="Overcloud minor update preparation step failed..." when: overcloud_update_prepare.rc != 0