Ansible - pip not found - Stack Overflow
https://stackoverflow.com/questions/5199763723.08.2018 · Meaning pip is installed at path x (may be /usr/local/bin/pip ), however, cached at path y (may be /usr/bin/pip). You can confirm that from - ansible default -m shell -a ‘type pip’. To resolve this you’ll need to run - ansible default -m shell -a ‘hash -r’. BTW, you can also use command module instead of shell. Share Improve this answer