fix for disable docker if found; re-enable post-bigboot

This commit is contained in:
Chris Hammer 2024-07-18 14:19:25 -04:00
parent 549eae7551
commit 5c9f42248b
2 changed files with 7 additions and 7 deletions

View File

@ -14,12 +14,6 @@
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
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
ansible.builtin.import_tasks: tasks/check_systemd_services.yml
@ -80,7 +74,7 @@
when:
- 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:
name: docker.service
state: stopped

View File

@ -12,6 +12,12 @@
- name: Cleanup from any previous executions
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
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml