-
Notifications
You must be signed in to change notification settings - Fork 19
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
devops/centos7-python2-end-of-life/ #26
Comments
This was helpful thanks. I think you also need to install libselinux-python3 since that's what is used when python3 is used, i.e.
|
This error is cancer I implemented the solution you have proposed still fails for me
TASK [loadbalancer : docker_container] ****************************************************************************************task path: /vagrant/ansible/roles/loadbalancer/tasks/main.yml:45 |
It looks like Ansible is using the correct Python, but that it can't find the - name: Ensure requests is installed
pip:
name:
- requests
state: present
executable: pip3
vars:
ansible_python_interpreter: /usr/bin/python3 |
CentOS 7, Ansible and the end of Python 2 - British Geological Survey
Python 2 vs 3 mismatches have been causing problems in ourCentOS 7 server adminstration.We use Ansible for automatic configuration andcontinuous integration deployments.A few of our long-used jobs ...
https://britishgeologicalsurvey.github.io/devops/centos7-python2-end-of-life/
The text was updated successfully, but these errors were encountered: