Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing packages on RHEL family to allow SElinux works correctly. #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vhsantos
Copy link

Without the policycoreutils-python-utils package and using a minimal AlmaLinux 9 (almost 100% sure that it will happen with others distros too) the SElinux tasks fail with this error:

"msg": "Failed to import the required Python library (policycoreutils-python) on 990-pdns-auth-02.test.mydomain.com's 
Python /usr/bin/python3. Please read the module documentation and install it in the appropriate location. 
If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"

installing the policycoreutils-python-utils and all the dependence fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant