Fix variable references
This commit is contained in:
parent
d41609c832
commit
3b8624fea8
@ -35,7 +35,7 @@
|
|||||||
ansible.builtin.import_role:
|
ansible.builtin.import_role:
|
||||||
name: infra.lvm_snapshots.bigboot
|
name: infra.lvm_snapshots.bigboot
|
||||||
vars:
|
vars:
|
||||||
bigboot_size: "{{ bigboot_data[inventory_hostname]['bigboot_size'] }}"
|
bigboot_partition_size: "{{ bigboot_data[inventory_hostname]['bigboot_size'] }}"
|
||||||
when:
|
when:
|
||||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool
|
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool
|
||||||
|
|
||||||
|
@ -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 }}."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user