From 3df16e6e474513efc56665c51c1b63f49267c489 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Thu, 15 Feb 2024 22:50:09 -0500 Subject: [PATCH] fixing bigboot_size @ 1G in group_vars/all - override with extra_vars if we want --- bigboot-v3.yml | 11 ++++++++--- group_vars/all | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bigboot-v3.yml b/bigboot-v3.yml index 398f011..1c47dac 100644 --- a/bigboot-v3.yml +++ b/bigboot-v3.yml @@ -4,16 +4,21 @@ become: false gather_facts: true - vars: - bigboot_size: "{{ bigboot_size | default(bigboot_size_default) }}" - tasks: + - name: Debug bigboot_size + ansible.builtin.debug: + var: bigboot_size + - name: Capture boot device details ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml - name: Shrink a logical volume for /boot expansion if needed ansible.builtin.import_tasks: tasks/bigboot_manage_lv.yml + - name: Debug bigboot_size + ansible.builtin.debug: + var: bigboot_size + - name: Expand the /boot partition as requested ansible.builtin.import_role: name: infra.lvm_snapshots.bigboot diff --git a/group_vars/all b/group_vars/all index 981f43e..d878a50 100644 --- a/group_vars/all +++ b/group_vars/all @@ -1,7 +1,7 @@ --- # Default size for Bigboot if otherwise # not defined -bigboot_size_default: 1G +bigboot_size: 1G # We use padding just to ensure there's # available space to expand /boot to.