File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 8484
8585 - name : Ensure we don't set some parameters when no extra disks
8686 when :
87+ - cifmw_devscripts_create_logical_volume is defined
8788 - _cifmw_libvirt_manager_layout.vms.ocp.extra_disks_num is undefined or
8889 _cifmw_libvirt_manager_layout.vms.ocp.extra_disks_num == 0
8990 ansible.builtin.assert :
141142 vars :
142143 _cinder_vols : >-
143144 {{
144- (cifmw_devscripts_create_logical_volume | bool) |
145+ (cifmw_devscripts_create_logical_volume is defined and
146+ cifmw_devscripts_create_logical_volume | bool) |
145147 ternary(cifmw_devscripts_cinder_volume_pvs, [])
146148 }}
147149 _lvms_vols : >-
178180 block :
179181 - name : Ensure no allocation overlap
180182 when :
183+ - cifmw_devscripts_create_logical_volume is defined
181184 - cifmw_devscripts_create_logical_volume | bool
182185 - cifmw_use_lvms | default(false) | bool
183186 ansible.builtin.assert :
202205
203206 - name : Ensure Cinder PVs allocated disks are available
204207 when :
208+ - cifmw_devscripts_create_logical_volume is defined
205209 - cifmw_devscripts_create_logical_volume | bool
206210 ansible.builtin.assert :
207211 that :
You can’t perform that action at this time.
0 commit comments