From 65a6cf8d5086355b1dabe8f21b08987f7ad062af Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Thu, 7 Mar 2024 17:01:31 -0500 Subject: [PATCH] weeee --- bigboot-noop.yml | 5 +++++ tasks/bigboot_manage_lv-noop.yml | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bigboot-noop.yml b/bigboot-noop.yml index b1eeae3..8eaf6e4 100644 --- a/bigboot-noop.yml +++ b/bigboot-noop.yml @@ -31,6 +31,11 @@ strategy: free tasks: + - name: Execute Shrink_LV role to resize target logical volume + ansible.builtin.debug: + msg: "Would have included infra.lvm_snapshots.shrink_lv here." + when: bigboot_execute_shrink_lv | bool + - name: Expand the /boot partition as requested ansible.builtin.debug: msg: "Would have included infra.lvm_snapshots.bigboot here." diff --git a/tasks/bigboot_manage_lv-noop.yml b/tasks/bigboot_manage_lv-noop.yml index 84f6d19..62ff11d 100644 --- a/tasks/bigboot_manage_lv-noop.yml +++ b/tasks/bigboot_manage_lv-noop.yml @@ -70,7 +70,7 @@ fail_msg: Not enough PE to expand /boot. rescue: - - name: Execute Shrink_LV role to resize target logical volume - ansible.builtin.debug: - msg: "Would have included infra.lvm_snapshots.shrink_lv here." + - name: Set flag to execute shrink_lv + ansible.builtin.set_fact: + bigboot_execute_shrink_lv: true