From 52854491f2585f9e401986358d758116990319aa Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Fri, 21 Feb 2025 14:33:40 -0500 Subject: [PATCH] Remove conditional --- tasks/cleanup.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tasks/cleanup.yml b/tasks/cleanup.yml index 32b9e40..0755f19 100644 --- a/tasks/cleanup.yml +++ b/tasks/cleanup.yml @@ -40,11 +40,10 @@ # - name: Check for Bigboot state log and restore services to pre-Bigboot state # ansible.builtin.import_tasks: tasks/restore_services.yml -# - name: Cleanup previous Bigboot state log if present -# ansible.builtin.file: -# path: "{{ bigboot_disabled_services_log }}" -# state: absent -# when: -# - bigboot_disabled_services_log_stat['stat']['exists'] | bool +- name: Cleanup old Bigboot service state log if present + ansible.builtin.file: + path: "{{ bigboot_disabled_services_log }}" + state: absent + ...