devstack/roles/run-devstack/tasks/main.yaml
Jens Harbott dc78ef8880 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
2018-03-12 14:48:53 +00:00

12 lines
208 B
YAML

- name: Run devstack
shell:
cmd: |
./stack.sh 2>&1
rc=$?
echo "*** FINISHED ***"
exit $rc
args:
chdir: "{{devstack_base_dir}}/devstack"
become: true
become_user: stack