diff --git a/bigboot-op.yml b/bigboot-op.yml index 7ce97e9..0f9cbf9 100644 --- a/bigboot-op.yml +++ b/bigboot-op.yml @@ -1,12 +1,12 @@ --- -- name: Resize the /boot parition to the desired size +- name: Capture boot and logical volume information hosts: all become: true gather_facts: true strategy: free vars: - bigboot_size_target: 2G + bigboot_size_target: 1G tasks: @@ -17,19 +17,20 @@ ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml -- name: Import hi playbook +- name: Perform a ReaR backup if any disk modifications are to be made ansible.builtin.import_playbook: rhc.rear.hi - when: bigboot_execute_bigboot | bool + when: + - bigboot_execute_bigboot | bool or bigboot_execute_shrink_lv | bool -- name: Execute logical volume and boot parition resizing as needed +- name: Perform logical volume and boot parition resizing as needed hosts: all become: true gather_facts: true strategy: free tasks: - - name: Import Shrink_LV role to resize target logical volume + - name: Expand the logical volume if needed to support /boot expansion ansible.builtin.import_role: name: infra.lvm_snapshots.shrink_lv vars: