more conditionals

This commit is contained in:
Chris Hammer 2024-03-29 13:59:12 -04:00
parent 943f107a6f
commit 4e144ecbc1
3 changed files with 8 additions and 2 deletions

View File

@ -13,6 +13,8 @@
data:
__bigboot_size_target: "{{ bigboot_size_target }}"
__bigboot_adjacent_lvm: "/dev/mapper/system-root"
__bigboot_execute_bigboot: true
__bigboot_execute_shrink: false
per_host: false
aggregate: false

View File

@ -8,6 +8,8 @@
- name: Debug test_set_stats
ansible.builtin.debug:
msg: "Another node will use __bigboot_size_target -> {{ __bigboot_size_target }}"
when: __bigboot_size_target | length > 1
when:
- __bigboot_size_target | length > 1
- __bigboot_execute_shrink | bool
...

View File

@ -8,6 +8,8 @@
- name: Debug test_set_stats
ansible.builtin.debug:
msg: "Another node will use __bigboot_adjacent_lvm -> {{ __bigboot_adjacent_lvm }}"
when: "'root' in __bigboot_adjacent_lvm"
when:
- "'root' in __bigboot_adjacent_lvm"
- __bigboot_execute_bigboot | bool
...