25 lines
656 B
YAML
25 lines
656 B
YAML
---
|
|
- 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: Expand the /boot partition as requested
|
|
ansible.builtin.debug:
|
|
msg: "Would have included infra.lvm_snapshots.bigboot here."
|
|
|
|
|
|
- name: Import say-hi playbook
|
|
ansible.builtin.import_playbook: rhc.rear.say-hi
|