Role fail when installing pip on centos7.
Summary
Role fail installing pip on centos7.
Steps to reproduce
- deploy centos7 vm
- run
install
action
Expected behavior
Role should install python
and pip for python
Actual behavior
Role crush during installation of pip
Relevant logs and/or screenshots
TASK [python : download get-pip.py] ****************************************************************************************************************************************************************
Sunday 26 July 2020 17:45:59 +0200 (0:00:00.505) 0:03:27.209 ***********
fatal: [worker1]: FAILED! => {"changed": false, "msg": "Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!"}
...
Possible fixes
Ensure libselinux-python3
is installed when running on centos7