Restore seboolean and sefcontext tests on RHEL.

This commit is contained in:
Matt Clay 2018-04-17 14:00:35 -07:00
parent 77ef4802f0
commit e401927d67
4 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,2 @@
needs/root
posix/ci/group2
skip/rhel

View file

@ -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
##########################################################################################

View file

@ -1,3 +1,2 @@
needs/root
posix/ci/group2
skip/rhel

View file

@ -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(/.*)?'