14 lines
374 B
YAML
Raw Normal View History

2022-07-21 01:00:17 +02:00
---
- name: Remove tmp and obsolete files
file: path={{ item }} state=absent
loop:
2023-07-08 16:00:11 +02:00
- "{{ nomad_root_dir }}/archives"
2022-07-21 01:00:17 +02:00
tags: nomad
2022-08-06 13:00:16 +02:00
- name: Remove temporary plugin files
file: path={{ item.dest }} state=absent
loop: "{{ nomad_plugin_dl.results }}"
when: nomad_plugin_dl is defined and nomad_plugin_dl.results is defined and item.dest is defined
tags: nomad