Revert "listupgrade: No removal (especially of the just installed cron_file) needed"

This reverts commit 09f951de18.
This commit is contained in:
David Prevot 2024-01-18 10:00:15 +01:00
parent bc19912b71
commit aa2593f34c

View file

@ -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