Formatting
This commit is contained in:
@ -140,7 +140,7 @@
|
|||||||
- name: Assert if we need to shrink the logical volume to gain PE
|
- name: Assert if we need to shrink the logical volume to gain PE
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that: (bigboot_lv_pe_size_in_mb[:-3] | int) >= (bigboot_expansion_diff_mb[:-3] | int)
|
that: (bigboot_lv_pe_size_in_mb[:-3] | int) >= (bigboot_expansion_diff_mb[:-3] | int)
|
||||||
fail_msg: Not enough PE to expand /boot. Will need to shrink target LV.
|
fail_msg: Not enough PE to expand /boot.
|
||||||
|
|
||||||
rescue:
|
rescue:
|
||||||
- name: Set flag for Shrink_LV execution
|
- name: Set flag for Shrink_LV execution
|
||||||
|
@ -25,7 +25,8 @@
|
|||||||
rescue:
|
rescue:
|
||||||
- name: "Decrement size target by {{ bigboot_size_decrement }}"
|
- name: "Decrement size target by {{ bigboot_size_decrement }}"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
bigboot_size_target_fallback: "{{ bigboot_size_target_fallback | int - bigboot_size_decrement | human_to_bytes }}"
|
bigboot_size_target_fallback:
|
||||||
|
"{{ bigboot_size_target_fallback | int - bigboot_size_decrement | human_to_bytes }}"
|
||||||
|
|
||||||
- name: Update required expansion space
|
- name: Update required expansion space
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
Reference in New Issue
Block a user