blob: 5d1dad8ef481f5a02970f749c6775861f5704f13 [file] [log] [blame]
Jan Kundrát1e38b3d2019-02-26 19:37:49 +01001- 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