diff --git a/test/integration/targets/sefcontext/aliases b/test/integration/targets/sefcontext/aliases index 8e6e9cb4cc..9af2d79042 100644 --- a/test/integration/targets/sefcontext/aliases +++ b/test/integration/targets/sefcontext/aliases @@ -1,3 +1,2 @@ needs/root shippable/posix/group2 -skip/rhel8.0 diff --git a/test/integration/targets/sefcontext/tasks/sefcontext.yml b/test/integration/targets/sefcontext/tasks/sefcontext.yml index d2fbc5886e..b452ea28c2 100644 --- a/test/integration/targets/sefcontext/tasks/sefcontext.yml +++ b/test/integration/targets/sefcontext/tasks/sefcontext.yml @@ -20,6 +20,14 @@ name: policycoreutils-python when: - ansible_distribution == 'RedHat' + - ansible_distribution_major_version|int < 8 + +- name: install requirements for rhel8 beta + package: + name: python3-policycoreutils + when: + - ansible_distribution == 'RedHat' + - ansible_distribution_major_version|int >= 8 - name: Ensure we start with a clean state sefcontext: