Paul Belanger | 989b03c | 2017-03-21 08:20:12 -0400 | [diff] [blame^] | 1 | --- |
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 |