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:
parent
77ef4802f0
commit
e401927d67
4 changed files with 12 additions and 2 deletions
|
@ -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(/.*)?'
|
||||
|
|
Loading…
Reference in a new issue