Add cleanup to update oneshot playbook
This commit is contained in:
parent
ca3a5e144f
commit
510db0df58
|
@ -15,7 +15,13 @@
|
||||||
autoremove: "yes"
|
autoremove: "yes"
|
||||||
autoclean: "yes"
|
autoclean: "yes"
|
||||||
upgrade: "full"
|
upgrade: "full"
|
||||||
|
|
||||||
|
- name: clean up obsolete kernels
|
||||||
|
command: "/usr/local/sbin/kernel-cleanup.sh"
|
||||||
|
|
||||||
|
- name: clean up obsolete packages
|
||||||
|
command: "/usr/local/sbin/dpkg-cleanup.sh"
|
||||||
|
|
||||||
- name: clean apt archives
|
- name: clean apt archives
|
||||||
file:
|
file:
|
||||||
dest: "/var/cache/apt/archives"
|
dest: "/var/cache/apt/archives"
|
||||||
|
|
Loading…
Reference in New Issue