diff --git a/test/integration/targets/seboolean/aliases b/test/integration/targets/seboolean/aliases index cf6db271b0..53b32510a0 100644 --- a/test/integration/targets/seboolean/aliases +++ b/test/integration/targets/seboolean/aliases @@ -1,3 +1,2 @@ needs/root posix/ci/group2 -skip/rhel diff --git a/test/integration/targets/seboolean/tasks/seboolean.yml b/test/integration/targets/seboolean/tasks/seboolean.yml index 1e7916a3dd..5c9b7674f6 100644 --- a/test/integration/targets/seboolean/tasks/seboolean.yml +++ b/test/integration/targets/seboolean/tasks/seboolean.yml @@ -15,6 +15,12 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +- name: install requirements for RHEL + package: + name: policycoreutils-python + when: + - ansible_distribution == 'RedHat' + - name: Cleanup shell: setsebool -P httpd_can_network_connect 0 ########################################################################################## diff --git a/test/integration/targets/sefcontext/aliases b/test/integration/targets/sefcontext/aliases index cf6db271b0..53b32510a0 100644 --- a/test/integration/targets/sefcontext/aliases +++ b/test/integration/targets/sefcontext/aliases @@ -1,3 +1,2 @@ needs/root posix/ci/group2 -skip/rhel diff --git a/test/integration/targets/sefcontext/tasks/sefcontext.yml b/test/integration/targets/sefcontext/tasks/sefcontext.yml index 04df61cf72..d2fbc5886e 100644 --- a/test/integration/targets/sefcontext/tasks/sefcontext.yml +++ b/test/integration/targets/sefcontext/tasks/sefcontext.yml @@ -15,6 +15,12 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +- name: install requirements for RHEL + package: + name: policycoreutils-python + when: + - ansible_distribution == 'RedHat' + - name: Ensure we start with a clean state sefcontext: path: '/tmp/foo/bar(/.*)?'