1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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