fixes for multiple hosts
This commit is contained in:
@ -11,8 +11,8 @@
|
||||
tasks:
|
||||
- name: Perform service and filesystem checks prior to Bigboot execution
|
||||
when:
|
||||
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
|
||||
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
|
||||
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | default(false) | bool
|
||||
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool)
|
||||
block:
|
||||
- name: Check for and disable services exceeding the timeout threshold
|
||||
ansible.builtin.import_tasks: tasks/check_systemd_services.yml
|
||||
@ -23,7 +23,7 @@
|
||||
The following services were disabled, and will be re-enabled post
|
||||
Bigboot execution:
|
||||
|
||||
{{ bigboot_systemd_disabled_services | flatten }}
|
||||
{{ bigboot_systemd_disabled_services | list | flatten }}
|
||||
when:
|
||||
- bigboot_systemd_disabled_services is defined
|
||||
- bigboot_systemd_disabled_services | length > 0
|
||||
|
Reference in New Issue
Block a user