shrink_lv/bigboot-v3.yml
Chris Hammer 76df12f31d
All checks were successful
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-centos9) (push) Successful in 15s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-debian11) (push) Successful in 13s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-debian12) (push) Successful in 13s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-fedora39) (push) Successful in 15s
Fix hosts, become, and strategy; update .ansible-lint because...
2024-02-19 16:26:24 -05:00

22 lines
525 B
YAML

---
- name: Shrink logical volumes
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.yml
- name: Expand the /boot partition as requested
ansible.builtin.include_role:
name: infra.lvm_snapshots.bigboot