Ansible playbook fails with libselinux-python aren't installed on RHEL8
Issue
-
When running an Ansible playbook against an RHEL8 system, it throws the error below even after the
python3-libselinux.
package has been installedAborting, target uses selinux but python bindings (libselinux-python) aren't installed!".
Environment
- Red Hat Enterprise Linux 8
- Ansible Engine 2.8+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.