From a091463e8e95d71e7283efbc00c2908dd623facc Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 29 Nov 2023 21:18:44 +0100 Subject: [PATCH] add on-off-playbook: apt autoremove (#620) Reviewed-on: https://git.mgrote.net/mg/homeserver/pulls/620 Co-authored-by: Michael Grote Co-committed-by: Michael Grote --- playbooks/on-off/autoremove.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 playbooks/on-off/autoremove.yml diff --git a/playbooks/on-off/autoremove.yml b/playbooks/on-off/autoremove.yml new file mode 100644 index 00000000..e20bfa3a --- /dev/null +++ b/playbooks/on-off/autoremove.yml @@ -0,0 +1,7 @@ +--- +- hosts: all + tasks: + - name: apt autoremove + become: true + ansible.builtin.apt: + autoremove: true