mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
14 lines
374 B
YAML
14 lines
374 B
YAML
---
|
|
|
|
- name: Remove tmp and obsolete files
|
|
file: path={{ item }} state=absent
|
|
loop:
|
|
- "{{ nomad_root_dir }}/archives"
|
|
tags: nomad
|
|
|
|
- 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
|