fix for disable docker if found; re-enable post-bigboot
This commit is contained in:
parent
549eae7551
commit
5c9f42248b
@ -14,12 +14,6 @@
|
|||||||
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
|
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
|
||||||
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
|
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
|
||||||
block:
|
block:
|
||||||
- name: Disabling Docker service due to overlay filesystem incompatibility
|
|
||||||
ansible.builtin.service:
|
|
||||||
name: docker.service
|
|
||||||
state: stopped
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
- 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
|
||||||
|
|
||||||
@ -80,7 +74,7 @@
|
|||||||
when:
|
when:
|
||||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool
|
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool
|
||||||
|
|
||||||
- name: Re-abling Docker service due to overlay filesystem incompatibility
|
- name: Re-enabling Docker service due to overlay filesystem incompatibility
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: docker.service
|
name: docker.service
|
||||||
state: stopped
|
state: stopped
|
||||||
|
@ -12,6 +12,12 @@
|
|||||||
- name: Cleanup from any previous executions
|
- name: Cleanup from any previous executions
|
||||||
ansible.builtin.import_tasks: tasks/cleanup.yml
|
ansible.builtin.import_tasks: tasks/cleanup.yml
|
||||||
|
|
||||||
|
- name: Disable Docker service if present due to incompatibility
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: docker.service
|
||||||
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
|
||||||
- name: Capture boot device details
|
- name: Capture boot device details
|
||||||
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user