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