Skip to content

Commit

Permalink
secure boot is not supported in miracle linux 8
Browse files Browse the repository at this point in the history
Signed-off-by: ZouYuhua <[email protected]>
  • Loading branch information
ZouYuhua committed Dec 29, 2023
1 parent 324c5c4 commit 2ebd546
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
vars:
skip_msg: >-
Skip test case {{ ansible_play_name }} because secure boot is not supported
by {{ vm_guest_os_distribution }}.
by {{ vm_guest_os_distribution }} {{ guest_os_ansible_distribution_ver }}.
skip_reason: "Not Supported"
when: >
(guest_os_ansible_distribution == "Rocky" and
guest_os_ansible_distribution_ver is version('8.4', '<=')) or
guest_os_ansible_distribution is match('Pardus.*') or
(guest_os_ansible_distribution == 'MIRACLE' and
guest_os_ansible_distribution_major_ver | int == 8) or
(guest_os_ansible_distribution in ["Astra Linux (Orel)", "ProLinux", "UnionTech", "Uos", "FreeBSD", "BigCloud", "FusionOS"])
- name: "Skip test case for OS version which has vulnerable bootloaders"
Expand Down
9 changes: 0 additions & 9 deletions linux/secureboot_enable_disable/secureboot_enable_disable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@
block:
- include_tasks: ../setup/test_setup.yml

- name: "Skip testcase '{{ ansible_play_name }}' for {{ guest_os_ansible_distribution }} {{ guest_os_ansible_distribution_major_ver }}"
include_tasks: ../../common/skip_test_case.yml
vars:
skip_msg: "Skip testcase '{{ ansible_play_name }}', it is not supported by {{ guest_os_ansible_distribution }} {{ guest_os_ansible_distribution_major_ver }}"
skip_reason: "Not Supported"
when:
- guest_os_ansible_distribution == 'MIRACLE'
- guest_os_ansible_distribution_major_ver | int == 8

- include_tasks: ../../common/vm_get_boot_info.yml

- include_tasks: ../../common/skip_test_case.yml
Expand Down

0 comments on commit 2ebd546

Please sign in to comment.