File tree 1 file changed +6
-2
lines changed
windows/vhba_hot_add_remove
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 15
15
- name : " For Windows {{ guest_os_product_type }} with guest ID {{ vm_guest_id }}"
16
16
ansible.builtin.set_fact :
17
17
vm_nvme_spec13_enabled : " {{ vm_guest_id | regex_search('windows(\\ d+)srvNext', '\\ 1') | first | int >= 2019 }}"
18
- when : guest_os_product_type == 'server'
18
+ when :
19
+ - guest_os_product_type == 'server'
20
+ - vm_guest_id | regex_search('windows(\\d+)srvNext')
19
21
20
22
- name : " For Windows {{ guest_os_product_type }} with guest ID {{ vm_guest_id }}"
21
23
ansible.builtin.set_fact :
22
24
vm_nvme_spec13_enabled : " {{ vm_guest_id | regex_search('windows(\\ d+)_', '\\ 1') | first | int >= 11 }}"
23
- when : guest_os_product_type == 'client'
25
+ when :
26
+ - guest_os_product_type == 'client'
27
+ - vm_guest_id | regex_search('windows(\\d+)_')
24
28
25
29
- name : " Skip test case"
26
30
include_tasks : ../../common/skip_test_case.yml
You can’t perform that action at this time.
0 commit comments