Skip to content

Commit f70c78d

Browse files
committed
remove guest os type check
Signed-off-by: dw035535 <[email protected]>
1 parent dfa4bc3 commit f70c78d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

windows/vhba_hot_add_remove/vhba_test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@
1515
- name: "For Windows {{ guest_os_product_type }} with guest ID {{ vm_guest_id }}"
1616
ansible.builtin.set_fact:
1717
vm_nvme_spec13_enabled: "{{ vm_guest_id | regex_search('windows(\\d+)srvNext', '\\1') | first | int >= 2019 }}"
18-
when:
19-
- guest_os_product_type == 'server'
20-
- vm_guest_id | regex_search('windows(\\d+)srvNext')
18+
when: vm_guest_id | regex_search('windows(\\d+)srvNext')
2119

2220
- name: "For Windows {{ guest_os_product_type }} with guest ID {{ vm_guest_id }}"
2321
ansible.builtin.set_fact:
2422
vm_nvme_spec13_enabled: "{{ vm_guest_id | regex_search('windows(\\d+)_', '\\1') | first | int >= 11 }}"
25-
when:
26-
- guest_os_product_type == 'client'
27-
- vm_guest_id | regex_search('windows(\\d+)_')
23+
when: vm_guest_id | regex_search('windows(\\d+)_')
2824

2925
- name: "Skip test case"
3026
include_tasks: ../../common/skip_test_case.yml

0 commit comments

Comments
 (0)