From 5c9f42248bad0b4b0ba97cef9e9738a4aeeb4e66 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Thu, 18 Jul 2024 14:19:25 -0400 Subject: [PATCH] fix for disable docker if found; re-enable post-bigboot --- bigboot_execute_resize.yml | 8 +------- bigboot_setup_environment.yml | 6 ++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bigboot_execute_resize.yml b/bigboot_execute_resize.yml index dc649cf..78a6ae1 100644 --- a/bigboot_execute_resize.yml +++ b/bigboot_execute_resize.yml @@ -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 diff --git a/bigboot_setup_environment.yml b/bigboot_setup_environment.yml index 320ddb9..53d236d 100644 --- a/bigboot_setup_environment.yml +++ b/bigboot_setup_environment.yml @@ -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