mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Restore seboolean and sefcontext tests on RHEL.
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
needs/root
|
||||
posix/ci/group2
|
||||
skip/rhel
|
||||
|
||||
@@ -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
|
||||
##########################################################################################
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
needs/root
|
||||
posix/ci/group2
|
||||
skip/rhel
|
||||
|
||||
@@ -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(/.*)?'
|
||||
|
||||
Reference in New Issue
Block a user