Add cleanup to update oneshot playbook
This commit is contained in:
		| @@ -16,6 +16,12 @@ | ||||
|         autoclean: "yes" | ||||
|         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 | ||||
|       file: | ||||
|         dest: "/var/cache/apt/archives" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user