I create an virtual env with python3 -m venv /opt/ansible
and source /opt/ansible/bin/activate
pip3 install ansible==4.10.0
finished the install
deactivate
and chown -R root:root /opt/ansible/.
chmod -R 755 /opt/ansible
ln -s /opt/ansible/bin/ansible /usr/local/bin/ansible
ln -s /opt/ansible/bin/ansible /usr/bin/ansible
i test. ansible --version on root and thor user. it’s worked.
but when i verify it’s failed !
Why ? I thought you verify just simple install with pip3 without virtualenv but it’s a good practice to enable venv i think .
