From aa2593f34cffd7b914823d49f71f0a589eeaf00b Mon Sep 17 00:00:00 2001 From: David Prevot Date: Thu, 18 Jan 2024 10:00:15 +0100 Subject: [PATCH] Revert "listupgrade: No removal (especially of the just installed cron_file) needed" This reverts commit 09f951de181ade87fceaf8409836d99a84cb1c66. --- listupgrade/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/listupgrade/tasks/main.yml b/listupgrade/tasks/main.yml index dec4881d..1a48ac6e 100644 --- a/listupgrade/tasks/main.yml +++ b/listupgrade/tasks/main.yml @@ -58,6 +58,12 @@ month: "{{ listupgrade_cron_month }}" state: "{{ listupgrade_cron_enabled | bool | ternary('present','absent') }}" +- name: Remove old lisupgrade typo + ansible.builtin.cron: + name: "lisupgrade.sh" + cron_file: "listupgrade" + state: absent + - name: old-kernel-autoremoval script is present ansible.builtin.copy: src: old-kernel-autoremoval.sh