--- - name: Resize the /boot parition to the desired size hosts: all become: true gather_facts: true strategy: free vars: bigboot_size_target: 1G tasks: - name: Capture boot device details ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml - name: Shrink a logical volume for /boot expansion if needed ansible.builtin.import_tasks: tasks/bigboot_manage_lv-noop.yml - name: Debug bigboot_size ansible.builtin.debug: var: bigboot_size - name: Include say_hi role from rhc.rear ansible.builtin.include_role: name: rhc.rear.say_hi - name: Import hi playbook ansible.builtin.import_playbook: rhc.rear.hi - name: Expand the /boot partition hosts: all become: true gather_facts: true strategy: free tasks: - name: Do we have bigboot_size ansible.builtin.debug: msg: "bigboot_size == {{ bigboot_size }}" - name: Do we have bigboot_adjacent_lvm_device ansible.builtin.debug: msg: "bigboot_adjacent_lvm_device == {{ bigboot_adjacent_lvm_device }}" - name: Execute Shrink_LV role to resize target logical volume ansible.builtin.debug: msg: "Would have included infra.lvm_snapshots.shrink_lv here." when: bigboot_execute_shrink_lv | bool - name: Expand the /boot partition as requested ansible.builtin.debug: msg: "Would have included infra.lvm_snapshots.bigboot here."