diff --git a/tasks/capture_boot_device_details.yml b/tasks/capture_boot_device_details.yml index c7f8f10..72a67ba 100644 --- a/tasks/capture_boot_device_details.yml +++ b/tasks/capture_boot_device_details.yml @@ -34,6 +34,12 @@ success_msg: The /boot partition is already at the desired size rescue: + - name: "End host if /boot is already at or above {{ bigboot_size_min }}" + ansible.builtin.fail: + msg: "/boot partition size is already at least {{ bigboot_size_min }} or greater. Nothing to do." + when: + - bigboot_boot_partsize | human_to_bytes > bigboot_size_min | int + - name: Set flag for Bigboot execution ansible.builtin.set_fact: bigboot_execute_bigboot: true