autoremove apt packages after upgrades
Some checks failed
/ Ansible Lint (push) Has been cancelled

This commit is contained in:
Max 2026-10-31 16:27:16 +01:00
commit ac7e18aec9
Signed by: max
SSH key fingerprint: SHA256:yZMpYLEULscoVYQvcuxhc3eWa6nymBFWCxjsRErAIY8

View file

@ -11,3 +11,7 @@
register: apt_update_and_upgrade__upgrade_result
notify:
- reboot the system
- name: Remove dependencies that are no longer required and purge their configuration files
ansible.builtin.apt:
autoremove: true