You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If selinux is enabled on the provisioning host and a virutal environment is being used to execute the playbook the operator may run into the following error (Assuming the libselinux-python library was installed using yum)
I'm having the same issue on:
Centos7
ansible 2.7.6
python3.6
Tried using --system-site-packages though it didnt bypassed the libselinux-python error. From what i've digged, my belly guess is that I do have the selinux @ python2.7 site-packages.. but not the same for python3.6 site-packages. so I guess --system-site-packages is pointed at python2.7 by default.
I did try installing libselinux-python on remote and localhost, my failing module is template.
SUMMARY
If selinux is enabled on the provisioning host and a virutal environment is being used to execute the playbook the operator may run into the following error (Assuming the libselinux-python library was installed using yum)
The workarounds are described here: trailofbits/algo#356
It might make sense to add this info into our FAQs as well.
ISSUE TYPE
The text was updated successfully, but these errors were encountered: