From d5a9e6bd0557f0dccbe6336c6b9344cf28ed8923 Mon Sep 17 00:00:00 2001 From: nd Date: Thu, 23 Dec 2021 23:48:20 +0100 Subject: [PATCH] add cleanup --- tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 312c4c7..c3a9995 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,9 +1,11 @@ --- -- name: update +- name: update and cleanup apt: update_cache: yes cache_valid_time: 600 upgrade: dist + autoclean: true + autoremove: true tags: - update