Task addition for idempotency
This commit is contained in:
parent
5e2ecd4f21
commit
e75578352f
@ -34,6 +34,12 @@
|
|||||||
success_msg: The /boot partition is already at the desired size
|
success_msg: The /boot partition is already at the desired size
|
||||||
|
|
||||||
rescue:
|
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
|
- name: Set flag for Bigboot execution
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
bigboot_execute_bigboot: true
|
bigboot_execute_bigboot: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user