forked from evolix/ansible-roles
listupgrade: Fix removal order
This commit is contained in:
parent
aa2593f34c
commit
30bd72614d
|
@ -45,6 +45,12 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
||||||
|
- name: Remove old lisupgrade typo
|
||||||
|
ansible.builtin.cron:
|
||||||
|
name: "lisupgrade.sh"
|
||||||
|
cron_file: "listupgrade"
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Enable listupgrade cron
|
- name: Enable listupgrade cron
|
||||||
ansible.builtin.cron:
|
ansible.builtin.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
|
|
||||||
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