diff --git a/bigboot-standalone.yml b/bigboot-standalone.yml new file mode 100644 index 0000000..5a82639 --- /dev/null +++ b/bigboot-standalone.yml @@ -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 + + +... diff --git a/bigboot-v3.yml b/bigboot-v3.yml deleted file mode 100644 index 3932045..0000000 --- a/bigboot-v3.yml +++ /dev/null @@ -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 diff --git a/bigboot.yml b/bigboot.yml index 5a82639..3932045 100644 --- a/bigboot.yml +++ b/bigboot.yml @@ -3,14 +3,18 @@ hosts: all become: true gather_facts: true - + strategy: free 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: - - infra.lvm_snapshots.bigboot + - 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