
When pipe is added to command, it should still exit with its result code, so save it by setting pipeline option before each command. Close-Bug: #1676156 Change-Id: Ibbe49b4a15a5b7825447a563fe35af85fd48b3ff
16 lines
467 B
YAML
16 lines
467 B
YAML
# This makes the overcloudrc file available locally. This file
|
|
# contains credentials for accessing OpenStack API services on the
|
|
# overcloud.
|
|
- name: Copy overcloudrc to ansible host
|
|
fetch:
|
|
flat: true
|
|
src: overcloudrc
|
|
dest: "{{ local_working_dir }}/overcloudrc"
|
|
|
|
- name: Run post-deploy script
|
|
shell: >
|
|
set -o pipefail &&
|
|
{{ working_dir }}/overcloud-deploy-post.sh 2>&1 {{ timestamper_cmd }} >
|
|
{{ post_deploy_log }}
|
|
changed_when: true
|