Final cleanup
All checks were successful
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-centos9) (push) Successful in 17s
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 14s

This commit is contained in:
Chris Hammer 2024-02-22 15:49:02 -05:00
parent fea6f088e5
commit fd0eb60a7e
3 changed files with 26 additions and 26 deletions

16
bigboot-standalone.yml Normal file
View File

@ -0,0 +1,16 @@
---
- name: Resize the /boot parition to the desired size
hosts: all
become: true
gather_facts: true
vars:
bigboot_size: "{{ bigboot_new_size | default('') }}"
roles:
- infra.lvm_snapshots.bigboot
...

View File

@ -1,20 +0,0 @@
---
- 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.yml
- name: Expand the /boot partition as requested
ansible.builtin.include_role:
name: infra.lvm_snapshots.bigboot

View File

@ -3,14 +3,18 @@
hosts: all hosts: all
become: true become: true
gather_facts: true gather_facts: true
strategy: free
vars: vars:
bigboot_size: "{{ bigboot_new_size | default('') }}" bigboot_size_target: 1G
tasks:
- name: Capture boot device details
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
roles: - name: Shrink a logical volume for /boot expansion if needed
- infra.lvm_snapshots.bigboot 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