logic fix for noop too
This commit is contained in:
@ -13,14 +13,15 @@
|
|||||||
- name: Capture boot device details
|
- name: Capture boot device details
|
||||||
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
||||||
|
|
||||||
- name: Shrink a logical volume for /boot expansion if needed
|
- name: Capture logical volume information
|
||||||
ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml
|
ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml
|
||||||
|
|
||||||
|
|
||||||
- name: Perform a ReaR backup if any disk modifications are to be made
|
- name: Perform a ReaR backup if any disk modifications are to be made
|
||||||
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
||||||
when:
|
when:
|
||||||
- bigboot_execute_bigboot | bool or bigboot_execute_shrink_lv | bool
|
- bigboot_execute_bigboot | bool
|
||||||
|
- bigboot_execute_shrink_lv | bool
|
||||||
|
|
||||||
|
|
||||||
- name: Perform logical volume and boot parition resizing as needed
|
- name: Perform logical volume and boot parition resizing as needed
|
||||||
@ -30,12 +31,14 @@
|
|||||||
strategy: free
|
strategy: free
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Expand the logical volume if needed to support /boot expansion
|
- name: Expand the logical volume to support /boot expansion
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg:
|
msg:
|
||||||
- "device: {{ bigboot_adjacent_lvm_device | trim }}"
|
- "device: {{ bigboot_adjacent_lvm_device | trim }}"
|
||||||
- "size : {{ bigboot_lv_shrink_size | int }}"
|
- "size : {{ bigboot_lv_shrink_size | int }}"
|
||||||
when: bigboot_execute_shrink_lv | bool
|
when:
|
||||||
|
- bigboot_execute_shrink_lv | bool
|
||||||
|
- bigboot_execute_bigboot | bool
|
||||||
|
|
||||||
- name: Expand the /boot partition as requested
|
- name: Expand the /boot partition as requested
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
|
Reference in New Issue
Block a user