Forum Navigation
You need to log in to create posts and topics.

Install Ansible for python 2.7


User wants to install Ansible on old python 2.7 on an old environments to use old code.


sudo root

curl -o
python ./
python -m pip install –user ansible
python -m pip install –user paramiko

cd /root/.local/
mv * /usr/local/

chmod -R a+rX /usr/local/lib/python2.7/site-packages/ansible
pip install ansible


Python 2.7 is obsolete from 1/1/2020 and no longer updated. it is recommended to upgrade to python 3.8.x and update your code