Task addition for idempotency

This commit is contained in:
Chris Hammer 2025-05-22 15:26:47 -04:00
parent 5e2ecd4f21
commit e75578352f

View File

@ -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