logic fix

This commit is contained in:
Chris Hammer 2024-03-13 19:35:09 -04:00
parent d6b8cce0ac
commit a004dd591b

View File

@ -20,7 +20,8 @@
- name: Perform a ReaR backup if any disk modifications are to be made - name: Perform a ReaR backup if any disk modifications are to be made
ansible.builtin.import_playbook: rhc.rear.rear_backup ansible.builtin.import_playbook: rhc.rear.rear_backup
when: when:
- bigboot_execute_bigboot | bool or bigboot_execute_shrink_lv | 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
@ -37,7 +38,9 @@
shrink_lv_devices: shrink_lv_devices:
- device: "{{ bigboot_adjacent_lvm_device | trim }}" - device: "{{ bigboot_adjacent_lvm_device | trim }}"
size: "{{ bigboot_lv_shrink_size | int }}" size: "{{ bigboot_lv_shrink_size | int }}"
when: bigboot_execute_shrink_lv | bool when:
- 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: