Testing OpenStack upgrades
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
386 B

- name: run stack.sh
become: yes
become_user: stack
cmd: |
sudo su -l stack -c "cd '{{ devstack_dir }}' && ./stack.sh" 2>&1
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