listupgrade: Fix removal order
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|4832|7|4825|8|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/stable/5//ansiblelint">Evolix » ansible-roles » stable #5</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|4832|7|4825|8|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/stable/5//ansiblelint">Evolix » ansible-roles » stable #5</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
7052b7bd1e
commit
37e6b14001
|
@ -45,6 +45,12 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
||||||
|
- name: Remove old lisupgrade typo
|
||||||
|
cron:
|
||||||
|
name: "lisupgrade.sh"
|
||||||
|
cron_file: "listupgrade"
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Enable listupgrade cron
|
- name: Enable listupgrade cron
|
||||||
cron:
|
cron:
|
||||||
name: "listupgrade.sh"
|
name: "listupgrade.sh"
|
||||||
|
@ -58,12 +64,6 @@
|
||||||
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
|
|
||||||
cron:
|
|
||||||
name: "lisupgrade.sh"
|
|
||||||
cron_file: "listupgrade"
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: old-kernel-autoremoval script is present
|
- name: old-kernel-autoremoval script is present
|
||||||
copy:
|
copy:
|
||||||
src: old-kernel-autoremoval.sh
|
src: old-kernel-autoremoval.sh
|
||||||
|
|
Loading…
Reference in a new issue