From a753142f5723b17dfec3351f9a23a4a34aa21440 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Thu, 15 Feb 2024 21:14:05 -0500 Subject: [PATCH] add default for bigboot_size in the event its not defined --- bigboot-v3.yml | 2 +- group_vars/all | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bigboot-v3.yml b/bigboot-v3.yml index c80a739..398f011 100644 --- a/bigboot-v3.yml +++ b/bigboot-v3.yml @@ -5,7 +5,7 @@ gather_facts: true vars: - bigboot_size: 2G + bigboot_size: "{{ bigboot_size | default(bigboot_size_default) }}" tasks: - name: Capture boot device details diff --git a/group_vars/all b/group_vars/all index a00f2e1..981f43e 100644 --- a/group_vars/all +++ b/group_vars/all @@ -1,4 +1,8 @@ --- +# Default size for Bigboot if otherwise +# not defined +bigboot_size_default: 1G + # We use padding just to ensure there's # available space to expand /boot to. #