Compare commits

..

No commits in common. "d41609c8322ff2b517fda53cd47bace49bb957cb" and "035fc1b57cdb9ad630b9985ef9800138ef999ea1" have entirely different histories.

4 changed files with 6 additions and 6 deletions

View File

@ -17,6 +17,6 @@ collections:
version: 1.5.4 version: 1.5.4
- name: infra.lvm_snapshots - name: infra.lvm_snapshots
version: 2.1.0 version: 2.0.2
... ...

View File

@ -19,7 +19,7 @@
- name: Capture required expansion space - name: Capture required expansion space
ansible.builtin.set_fact: ansible.builtin.set_fact:
bigboot_expansion_diff: bigboot_expansion_diff:
"{{ bigboot_partition_size | human_to_bytes - bigboot_boot_partsize | human_to_bytes }}" "{{ bigboot_size_target | human_to_bytes - bigboot_boot_partsize | human_to_bytes }}"
- name: Convert size difference to MB - name: Convert size difference to MB
ansible.builtin.set_fact: ansible.builtin.set_fact:
@ -27,7 +27,7 @@
- name: Set bigboot size 4k aligned - name: Set bigboot size 4k aligned
ansible.builtin.set_fact: ansible.builtin.set_fact:
bigboot_partition_size: "{{ bigboot_size_expansion_mb[:-2] | int | get_block_size_up }}" bigboot_size: "{{ bigboot_size_expansion_mb[:-2] | int | get_block_size_up }}"
- name: Validate if we need to expand boot - name: Validate if we need to expand boot
block: block:
@ -48,4 +48,4 @@
- name: Expansion of /boot required - name: Expansion of /boot required
ansible.builtin.debug: ansible.builtin.debug:
msg: "Will need to expand /boot by an additional {{ bigboot_partition_size }}." msg: "Will need to expand /boot by an additional {{ bigboot_size }}."

View File

@ -87,7 +87,7 @@
bigboot_lv_pe_size_in_mb: bigboot_lv_pe_size_in_mb:
"{{ bigboot_lv_vg_free_pe | regex_replace('i|\\s+|<', '') | human_to_bytes | human_readable(unit='M') }}" "{{ bigboot_lv_vg_free_pe | regex_replace('i|\\s+|<', '') | human_to_bytes | human_readable(unit='M') }}"
- name: Verify available PE for the volume group - name: Verify if there's available PE or not and execute Shrink_LV
block: block:
- name: Set flag for Shrink_LV execution - name: Set flag for Shrink_LV execution
ansible.builtin.set_fact: ansible.builtin.set_fact:

View File

@ -1,7 +1,7 @@
--- ---
ansible_ssh_retries: 10 ansible_ssh_retries: 10
bigboot_partition_size: 1G bigboot_size_target: 1G
bigboot_post_reboot_delay: 70 bigboot_post_reboot_delay: 70
bigboot_reboot_timeout: 1800 bigboot_reboot_timeout: 1800