21 lines
363 B
YAML
21 lines
363 B
YAML
---
|
|
|
|
- name: run stack.sh
|
|
become: yes
|
|
become_user: stack
|
|
shell:
|
|
cmd: |
|
|
source /etc/profile
|
|
./stack.sh 2>&1
|
|
rc=$?
|
|
echo "*** FINISHED ***"
|
|
exit $rc
|
|
chdir: '{{ devstack_dir }}'
|
|
register: run_stack
|
|
ignore_errors: yes
|
|
|
|
|
|
- name: show stack.sh output
|
|
debug: var=run_stack.stdout_lines
|
|
failed_when: run_stack is failed
|