Save rc from stack.sh in run-devstack role
Avoid overriding the failure state of stack.sh by the trailing echo command. Change-Id: I74820709edc98f67ff1a0c620ce5db3a3571b7f5
This commit is contained in:
parent
06fa9dfc17
commit
dc78ef8880
@ -2,7 +2,9 @@
|
||||
shell:
|
||||
cmd: |
|
||||
./stack.sh 2>&1
|
||||
rc=$?
|
||||
echo "*** FINISHED ***"
|
||||
exit $rc
|
||||
args:
|
||||
chdir: "{{devstack_base_dir}}/devstack"
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user