Initial project commit
This commit is contained in:
12
tasks/cleanup_state_log.yml
Normal file
12
tasks/cleanup_state_log.yml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Check for Bigboot service state log presence
|
||||
ansible.builtin.stat:
|
||||
path: "{{ bigboot_disabled_services_log }}"
|
||||
register: bigboot_disabled_services_log_stat
|
||||
|
||||
- name: Remove old Bigboot service state log
|
||||
ansible.builtin.file:
|
||||
path: "{{ bigboot_disabled_services_log }}"
|
||||
state: absent
|
||||
when:
|
||||
- bigboot_disabled_services_log_stat['stat']['exists'] | bool
|
Reference in New Issue
Block a user