- 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 |