From a004dd591b06865a632861547acac6432eecf861 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 13 Mar 2024 19:35:09 -0400 Subject: [PATCH] logic fix --- bigboot-op.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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: