Hi all.
I installed python pip with ansible then, in the same playbook, I use pip to install docker-py libs… but it keep saying “Unable to find any of pip3 to use. pip needs to be installed.”
Then If I run the same playbook or if I ssh the box then run manually pip install docker it runs ok.
Hi all.
I installed python pip with ansible then, in the same playbook, I use pip to install docker-py libs.... but it keep saying
*"Unable to find any of pip3 to use. pip needs to be installed."
*
Then If I run the same playbook or if I ssh the box then run manually pip install docker it runs ok.
Any idea why it fails the fir time?
Ansible version is 2.8.5
How does your playbook look like, especially the pip install tasks?
OK, but you also installed pip with Ansible before? Check if Ansible keeps the pip location in its facts,
that would explain your problem with the first install.