ansible-roles/roles/consul/tasks/cleanup.yml

9 lines
222 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:
- "{{ consul_root_dir }}/tmp/consul_{{ consul_version }}_linux_amd64.zip"
- "{{ consul_root_dir }}/tmp/consul"
tags: consul