blob: 5d1dad8ef481f5a02970f749c6775861f5704f13 [file] [log] [blame]
- fail:
msg: "This role only works in the 'promote' pipeline."
when: zuul.pipeline != 'promote'
- name: Nuke artifacts directory on executor as it is not needed anymore
delegate_to: localhost
file:
path: "{{ zuul.executor.work_root }}/artifacts"
state: absent