forked from evolix/ansible-roles
Revert "listupgrade: No removal (especially of the just installed cron_file) needed"
This reverts commit 09f951de18
.
This commit is contained in:
parent
bc19912b71
commit
aa2593f34c
|
@ -58,6 +58,12 @@
|
||||||
month: "{{ listupgrade_cron_month }}"
|
month: "{{ listupgrade_cron_month }}"
|
||||||
state: "{{ listupgrade_cron_enabled | bool | ternary('present','absent') }}"
|
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
|
- name: old-kernel-autoremoval script is present
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: old-kernel-autoremoval.sh
|
src: old-kernel-autoremoval.sh
|
||||||
|
|
Loading…
Reference in a new issue