tidy up
This commit is contained in:
parent
1298d2b4e8
commit
6c361ecb84
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user