blob: 08e46f3524fef893597e71922fd758b7a8ea2425 [file] [log] [blame]
---
- name: Check if tools/test-setup.sh exists.
stat:
path: "/home/zuul/workspace/src/{{ zuul.project }}/tools/test-setup.sh"
register: p
- name: Run tools/test-setup.sh.
shell: tools/test-setup.sh
args:
chdir: "/home/zuul/workspace/src/{{ zuul.project }}"
when:
- p.stat.exists
- p.stat.executable