new service state handling
This commit is contained in:
@ -29,12 +29,10 @@
|
||||
path: "/boot/initramfs-{{ initramfs_kernel_version }}.img.{{ initramfs_backup_extension }}"
|
||||
state: absent
|
||||
|
||||
- name: Check if disable services log exists
|
||||
ansible.builtin.stat:
|
||||
path: "{{ bigboot_disabled_services_log }}"
|
||||
register: bigboot_disabled_services_log_stat
|
||||
- name: Check for Bigboot state log and restore services to pre-Bigboot state
|
||||
ansible.builtin.import_tasks: tasks/restore_services.yml
|
||||
|
||||
- name: Remove disabled services log if present
|
||||
- name: Cleanup previous Bigboot state log if present
|
||||
ansible.builtin.file:
|
||||
path: "{{ bigboot_disabled_services_log }}"
|
||||
state: absent
|
||||
|
Reference in New Issue
Block a user