Skip to content

Instantly share code, notes, and snippets.

@sshnaidm
Created July 26, 2020 15:03
Show Gist options
  • Save sshnaidm/02f1d438ad76836cf788ed42f0e5d589 to your computer and use it in GitHub Desktop.
Save sshnaidm/02f1d438ad76836cf788ed42f0e5d589 to your computer and use it in GitHub Desktop.
libselinux-python and ansible problem
#!/bin/bash
export ANSIBLE_VENV=...
cp -r /usr/lib64/python3.7/site-packages/selinux $ANSIBLE_VENV/lib64/python3.7/site-packages/
cp /usr/lib64/python3.7/site-packages/_semanage.cpython-37m-x86_64-linux-gnu.so $ANSIBLE_VENV/lib64/python3.7/site-packages/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment