Task reorder/move; log path update
This commit is contained in:
parent
8245abf806
commit
339dcdd6ad
@ -13,20 +13,11 @@
|
|||||||
when:
|
when:
|
||||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool
|
||||||
block:
|
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
|
- name: Check for and disable services exceeding the timeout threshold
|
||||||
ansible.builtin.import_tasks: tasks/check_systemd_services.yml
|
ansible.builtin.import_tasks: tasks/check_systemd_services.yml
|
||||||
|
|
||||||
- name: Services disabled notice
|
- name: Perform filesystem check prior to Bigboot execution
|
||||||
ansible.builtin.debug:
|
ansible.builtin.import_tasks: tasks/grub_filesystem_check.yml
|
||||||
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: Extend the timeout values for physical hosts
|
- name: Extend the timeout values for physical hosts
|
||||||
|
@ -29,3 +29,12 @@
|
|||||||
when:
|
when:
|
||||||
- item['item'] not in bigboot_protected_services
|
- item['item'] not in bigboot_protected_services
|
||||||
- item['stdout'] | regex_replace('^.*=(.*$)', '\\1') | community.general.to_minutes >= bigboot_service_max_timeout | int
|
- 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
|
- boksm.service
|
||||||
|
|
||||||
# Filename of disabled services log:
|
# 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