From 0b32a11fabab4e88fd5cf8773cadadf8f6bcde4a Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Thu, 29 Jan 2026 11:08:27 +0100 Subject: [PATCH] added 'apt autoclean' to pre-run tasks for debian and likes --- local.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/local.yml b/local.yml index 7be7b1c..d21ef61 100644 --- a/local.yml +++ b/local.yml @@ -31,7 +31,9 @@ tags: always - name: pre-run | update apt repository (debian, ubuntu, etc.) # noqa no-changed-when - ansible.builtin.apt: update_cache=yes + ansible.builtin.apt: + update_cache: yes + autoclean: yes #changed_when: false when: ansible_facts['distribution'] in ["Debian", "Ubuntu", "Linux Mint"] ignore_errors: True @@ -149,7 +151,7 @@ become: true handlers: - ansible.builtin.import_tasks: global_handlers/global_handlers.yml - roles: + roles:aide --config /etc/aide/aide.conf --update - podman - hosts: drone