Remove cache to save space

This commit is contained in:
Dryusdan 2024-03-09 17:03:16 +01:00
parent ea55580478
commit 2ff6c33f2e

View file

@ -101,6 +101,12 @@
include_tasks: create_netbox.yml
loop: "{{ lxc }}"
- name: Destroy download cache for each container
ansible.builtin.file:
path: "/var/lib/lxc/{{ item.username }}/.cache/lxc/download"
state: absent
loop: "{{ lxc }}"
#- name: Destroy container or user
# include_tasks: destroy_container.yml
# when: item.state == "absent"