initial commit
This commit is contained in:
15
roles/updates/tasks/apt-cleaning.yaml
Normal file
15
roles/updates/tasks/apt-cleaning.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
- name: APT run autoremove with purge
|
||||
ansible.builtin.apt:
|
||||
autoremove: yes
|
||||
purge: yes
|
||||
when: purge_autoremove | bool
|
||||
|
||||
- name: APT run autoremove without purge
|
||||
ansible.builtin.apt:
|
||||
autoremove: yes
|
||||
purge: no
|
||||
when: not purge_autoremove
|
||||
|
||||
- name: APT run autoclean
|
||||
ansible.builtin.apt:
|
||||
autoclean: yes
|
||||
Reference in New Issue
Block a user