Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip test case secureboot_enable_disable when VBS is enabled #415

Merged
merged 2 commits into from
Jan 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions windows/secureboot_enable_disable/secureboot_enable_disable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
skip_reason: "Not Applicable"
when: vm_firmware is undefined or vm_firmware | lower != 'efi'

- name: "Skip {{ current_testcase_name }} if VBS is enabled"
block:
- name: "Get VBS status of VM"
include_tasks: ../../common/vm_get_vbs_status.yml
- name: "Skip {{ current_testcase_name }} with VBS enabled"
include_tasks: ../../common/skip_test_case.yml
vars:
skip_msg: "Skip test case due to secure boot cannot be disabled for VM with VBS enabled."
skip_reason: "Not Applicable"
when: vm_vbs_enabled | bool
when: guest_os_ansible_architecture == "64-bit"

# Enable, disable secure boot test if VM uses EFI firmware
- include_tasks: change_secureboot_config.yml
vars:
Expand Down