00d758af26
Change-Id: I813ecc32c9781091dc7faf67dcc99dfe88bbaa5d
22 lines
456 B
YAML
22 lines
456 B
YAML
- name: Empty Zuul Output directories by removing them
|
|
file:
|
|
path: "{{ zuul_output_dir }}/{{ zj_output_dir }}"
|
|
state: absent
|
|
with_items:
|
|
- logs
|
|
- artifacts
|
|
- docs
|
|
loop_control:
|
|
loop_var: zj_output_dir
|
|
|
|
- name: Ensure Zuul Output directories exist
|
|
file:
|
|
path: "{{ zuul_output_dir }}/{{ zj_output_dir }}"
|
|
state: directory
|
|
with_items:
|
|
- logs
|
|
- artifacts
|
|
- docs
|
|
loop_control:
|
|
loop_var: zj_output_dir
|