add some exceptions; remove some exceptions

This commit is contained in:
Chris Hammer 2024-03-13 20:00:34 -04:00
parent 5ec57ad634
commit 04392fdcae
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,6 @@
ansible.builtin.import_playbook: rhc.rear.rear_backup ansible.builtin.import_playbook: rhc.rear.rear_backup
when: when:
- bigboot_execute_bigboot | bool - bigboot_execute_bigboot | bool
- bigboot_execute_shrink_lv | bool
- name: Perform logical volume and boot parition resizing as needed - name: Perform logical volume and boot parition resizing as needed
@ -40,7 +39,6 @@
size: "{{ bigboot_lv_shrink_size | int }}" size: "{{ bigboot_lv_shrink_size | int }}"
when: when:
- bigboot_execute_shrink_lv | bool - bigboot_execute_shrink_lv | bool
- bigboot_execute_bigboot | bool
- name: Expand the /boot partition as requested - name: Expand the /boot partition as requested
ansible.builtin.import_role: ansible.builtin.import_role:

View File

@ -77,4 +77,7 @@
- name: Set flag for Shrink_LV execution - name: Set flag for Shrink_LV execution
ansible.builtin.set_fact: ansible.builtin.set_fact:
bigboot_execute_shrink_lv: true bigboot_execute_shrink_lv: true
when:
- bigboot_execute_bigboot | bool
- (bigboot_lv_pe_size_in_mb[:-3] | int | round) | int < bigboot_size[:-1] | int