Jan Kundrát | 1e38b3d | 2019-02-26 19:37:49 +0100 | [diff] [blame] | 1 | - fail: |
2 | msg: "This role only works in the 'promote' pipeline." | ||||
3 | when: zuul.pipeline != 'promote' | ||||
4 | |||||
5 | - name: Nuke artifacts directory on executor as it is not needed anymore | ||||
6 | delegate_to: localhost | ||||
7 | file: | ||||
8 | path: "{{ zuul.executor.work_root }}/artifacts" | ||||
9 | state: absent |