Remove cache to save space
This commit is contained in:
parent
ea55580478
commit
2ff6c33f2e
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue