diff --git a/bigboot-op.yml b/bigboot-op.yml index de7bd8d..934ff4f 100644 --- a/bigboot-op.yml +++ b/bigboot-op.yml @@ -20,7 +20,8 @@ - name: Perform a ReaR backup if any disk modifications are to be made ansible.builtin.import_playbook: rhc.rear.rear_backup 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 @@ -37,7 +38,9 @@ shrink_lv_devices: - device: "{{ bigboot_adjacent_lvm_device | trim }}" 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 ansible.builtin.import_role: