This repository was archived by the owner on Dec 26, 2020. It is now read-only.
This repository was archived by the owner on Dec 26, 2020. It is now read-only.
Add RHEL 8 Support #261
Closed
Description
Describe the bug
Role can't be applied to RHEL8 nodes
Expected behavior
RHEL 8 is supported
Actual behavior
TASK [dev-sec.ssh-hardening : install selinux dependencies when selinux is installed on RHEL or Oracle Linux] ********************************
Wednesday 15 January 2020 16:06:14 +0100 (0:00:00.097) 0:00:13.195 *****
failed: [pdl0400-aux0002.ad.nublar.de] (item=policycoreutils-python) => {
"ansible_loop_var": "item",
"changed": false,
"failures": [
"No package policycoreutils-python available."
],
"item": "policycoreutils-python",
"rc": 1,
"results": []
}
MSG:
Failed to install some of the specified packages
OS / Environment
- RedHat 8.1 Ootpa
- Selinux enabled
Ansible Version
ansible 2.9.1
config file = /home/adm00001/repos/ansible/ansible.cfg
configured module search path = ['/home/adm00001/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/adm00001/dev/ansible_29/lib/python3.6/site-packages/ansible
executable location = /home/adm00001/dev/ansible_29/bin/ansible
python version = 3.6.8 (default, Oct 11 2019, 15:04:54) [GCC 8.3.1 20190507 (Red Hat 8.3.1-4)]
Role Version
7.0.0
Additional context
The package policycoreutils-python must be replaced with python3-policycoreutils in RHEL8