Fix to allow per-host Bigboot executions; revised

This commit is contained in:
2024-07-17 18:23:49 -04:00
parent c34ecde485
commit d26ca163a6

View File

@ -50,8 +50,8 @@
name: infra.lvm_snapshots.shrink_lv name: infra.lvm_snapshots.shrink_lv
vars: vars:
shrink_lv_devices: shrink_lv_devices:
- device: "{{ bigboot_adjacent_lvm_device }}" - device: "{{ bigboot_data[inventory_hostname]['bigboot_adjacent_lvm_device'] }}"
size: "{{ bigboot_lv_shrink_size | int }}" size: "{{ bigboot_data[inventory_hostname]['bigboot_lv_shrink_size'] | int }}"
when: when:
- bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool - bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool