listupgrade: No removal (especially of the just installed cron_file) needed
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2769|4|2765|3|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/227//ansiblelint">Evolix » ansible-roles » unstable #227</a>
gitea/ansible-roles/pipeline/head This commit looks good

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