blob: 08e46f3524fef893597e71922fd758b7a8ea2425 [file] [log] [blame]
Paul Belanger989b03c2017-03-21 08:20:12 -04001---
2- name: Check if tools/test-setup.sh exists.
3 stat:
4 path: "/home/zuul/workspace/src/{{ zuul.project }}/tools/test-setup.sh"
5 register: p
6
7- name: Run tools/test-setup.sh.
8 shell: tools/test-setup.sh
9 args:
10 chdir: "/home/zuul/workspace/src/{{ zuul.project }}"
11 when:
12 - p.stat.exists
13 - p.stat.executable