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

This commit is contained in:
David Prevot 2023-03-27 11:21:25 +02:00
parent 47e35f77d2
commit 09f951de18

View file

@ -58,12 +58,6 @@
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