Sync with upstream release 2.1.0 #6
@ -17,6 +17,6 @@ collections:
|
||||
version: 1.5.4
|
||||
|
||||
- name: infra.lvm_snapshots
|
||||
version: 2.0.2
|
||||
version: 2.1.0
|
||||
|
||||
...
|
||||
|
@ -19,7 +19,7 @@
|
||||
- name: Capture required expansion space
|
||||
ansible.builtin.set_fact:
|
||||
bigboot_expansion_diff:
|
||||
"{{ bigboot_size_target | human_to_bytes - bigboot_boot_partsize | human_to_bytes }}"
|
||||
"{{ bigboot_partition_size | human_to_bytes - bigboot_boot_partsize | human_to_bytes }}"
|
||||
|
||||
- name: Convert size difference to MB
|
||||
ansible.builtin.set_fact:
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
- name: Set bigboot size 4k aligned
|
||||
ansible.builtin.set_fact:
|
||||
bigboot_size: "{{ bigboot_size_expansion_mb[:-2] | int | get_block_size_up }}"
|
||||
bigboot_partition_size: "{{ bigboot_size_expansion_mb[:-2] | int | get_block_size_up }}"
|
||||
|
||||
- name: Validate if we need to expand boot
|
||||
block:
|
||||
@ -48,4 +48,4 @@
|
||||
|
||||
- name: Expansion of /boot required
|
||||
ansible.builtin.debug:
|
||||
msg: "Will need to expand /boot by an additional {{ bigboot_size }}."
|
||||
msg: "Will need to expand /boot by an additional {{ bigboot_partition_size }}."
|
||||
|
@ -87,7 +87,7 @@
|
||||
bigboot_lv_pe_size_in_mb:
|
||||
"{{ bigboot_lv_vg_free_pe | regex_replace('i|\\s+|<', '') | human_to_bytes | human_readable(unit='M') }}"
|
||||
|
||||
- name: Verify if there's available PE or not and execute Shrink_LV
|
||||
- name: Verify available PE for the volume group
|
||||
block:
|
||||
- name: Set flag for Shrink_LV execution
|
||||
ansible.builtin.set_fact:
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
ansible_ssh_retries: 10
|
||||
|
||||
bigboot_size_target: 1G
|
||||
bigboot_partition_size: 1G
|
||||
|
||||
bigboot_post_reboot_delay: 70
|
||||
bigboot_reboot_timeout: 1800
|
||||
|
Loading…
x
Reference in New Issue
Block a user