diff --git a/test/integration/targets/seboolean/aliases b/test/integration/targets/seboolean/aliases index cf6db271b00..53b32510a0e 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 1e7916a3dd1..5c9b7674f61 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 <http://www.gnu.org/licenses/>. +- 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 cf6db271b00..53b32510a0e 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 04df61cf72e..d2fbc5886e6 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 <http://www.gnu.org/licenses/>. +- 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(/.*)?'