Restore seboolean and sefcontext tests on RHEL.

pull/38922/merge
Matt Clay 7 years ago
parent 77ef4802f0
commit e401927d67

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

@ -15,6 +15,12 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # 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 - name: Cleanup
shell: setsebool -P httpd_can_network_connect 0 shell: setsebool -P httpd_can_network_connect 0
########################################################################################## ##########################################################################################

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

@ -15,6 +15,12 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>. # 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 - name: Ensure we start with a clean state
sefcontext: sefcontext:
path: '/tmp/foo/bar(/.*)?' path: '/tmp/foo/bar(/.*)?'

Loading…
Cancel
Save