Federico Ressi 1758142b29 Create devstack-tobiko Vagrantfile
Change-Id: I59810fd352b196f3fb08b265cfb3962efb88f326
2020-09-29 16:09:52 +02:00

20 lines
388 B
YAML

---
- name: run stack.sh
become: true
become_user: stack
shell:
cmd: |
sudo su -l stack -c "cd '{{ devstack_dir }}' && ./stack.sh" 2>&1
rc=$?
echo "*** FINISHED ***"
exit $rc
chdir: '{{ devstack_dir }}'
register: run_stack
ignore_errors: true
- name: show stack.sh output
debug: var=run_stack.stdout_lines
failed_when: run_stack is failed