Task reorder/move; log path update
This commit is contained in:
parent
8245abf806
commit
339dcdd6ad
@ -13,20 +13,11 @@
|
||||
when:
|
||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
||||
block:
|
||||
- name: Perform filesystem check prior to Bigboot execution
|
||||
ansible.builtin.import_tasks: tasks/grub_filesystem_check.yml
|
||||
|
||||
- name: Check for and disable services exceeding the timeout threshold
|
||||
ansible.builtin.import_tasks: tasks/check_systemd_services.yml
|
||||
|
||||
- name: Services disabled notice
|
||||
ansible.builtin.debug:
|
||||
msg: >-
|
||||
The following services were disabled, and will be re-enabled post
|
||||
Bigboot execution: {{ bigboot_systemd_disabled_services | join(',') }}
|
||||
when:
|
||||
- bigboot_systemd_disabled_services is defined
|
||||
- bigboot_systemd_disabled_services | length > 0
|
||||
- name: Perform filesystem check prior to Bigboot execution
|
||||
ansible.builtin.import_tasks: tasks/grub_filesystem_check.yml
|
||||
|
||||
|
||||
- name: Extend the timeout values for physical hosts
|
||||
|
@ -29,3 +29,12 @@
|
||||
when:
|
||||
- item['item'] not in bigboot_protected_services
|
||||
- item['stdout'] | regex_replace('^.*=(.*$)', '\\1') | community.general.to_minutes >= bigboot_service_max_timeout | int
|
||||
|
||||
- name: Services disabled notice
|
||||
ansible.builtin.debug:
|
||||
msg: >-
|
||||
The following services were disabled, and will be re-enabled post
|
||||
Bigboot execution: {{ bigboot_systemd_disabled_services | join(',') }}
|
||||
when:
|
||||
- bigboot_systemd_disabled_services is defined
|
||||
- bigboot_systemd_disabled_services | length > 0
|
||||
|
@ -26,4 +26,4 @@ bigboot_protected_services:
|
||||
- boksm.service
|
||||
|
||||
# Filename of disabled services log:
|
||||
bigboot_disabled_services_log: /var/ipe/ipu/bigboot-disabled-services
|
||||
bigboot_disabled_services_log: /root/bigboot_disabled_services.log
|
||||
|
Loading…
x
Reference in New Issue
Block a user