On 4/16/20 12:13 PM, Punit Ramaji wrote:
> python --version
> Python 2.7.16
> whereis pip
> pip: /usr/local/bin/pip2.7 /usr/local/bin/pip
> 

Please try pip: name=pip state=latest executable=/usr/local/bin/pip

Regards
        Racke

> On Thursday, 16 April 2020 15:40:54 UTC+5:30, Stefan Hornburg (Racke) wrote:
> 
>     On 4/16/20 12:07 PM, Punit Ramaji wrote:
>     > Yes, I am trying to upgrade it. But it is failing.
> 
>     Which version of Python do you use on the target machine? Where is pip 
> installed exactly?
> 
>     Regards
>             Racke
> 
>     >
>     > On Thursday, 16 April 2020 15:28:31 UTC+5:30, Mauricio Tavares wrote:
>     >
>     >     On Thu, Apr 16, 2020 at 5:51 AM Punit Ramaji <[email protected] 
> <javascript:>> wrote:
>     >     >
>     >     > I am getting below error, when I try to pip: name=pip state=latest
>     >     > TASK [install : Upgrade pip] 
> ***************************************************
>     >     > fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable 
> to find any of pip2, pip to use.  pip needs
>     to be
>     >     installed."}
>     >     >         to retry, use: --limit
>     >     >
>     >           Is pip already installed in target machine?
>     >
>     >     > --
>     >     > You received this message because you are subscribed to the 
> Google Groups "Ansible Project" group.
>     >     > To unsubscribe from this group and stop receiving emails from it, 
> send an email to [email protected]
>     >     <javascript:>.
>     >     > To view this discussion on the web visit
>     >     
> https://groups.google.com/d/msgid/ansible-project/9fea132f-6939-48da-b3f9-ba005097c528%40googlegroups.com
>     
> <https://groups.google.com/d/msgid/ansible-project/9fea132f-6939-48da-b3f9-ba005097c528%40googlegroups.com>
>     >     
> <https://groups.google.com/d/msgid/ansible-project/9fea132f-6939-48da-b3f9-ba005097c528%40googlegroups.com
>     
> <https://groups.google.com/d/msgid/ansible-project/9fea132f-6939-48da-b3f9-ba005097c528%40googlegroups.com>>.
>     >
>     > --
>     > You received this message because you are subscribed to the Google 
> Groups "Ansible Project" group.
>     > To unsubscribe from this group and stop receiving emails from it, send 
> an email to
>     > [email protected] <javascript:> 
> <mailto:[email protected] <javascript:>>.
>     > To view this discussion on the web visit
>     > 
> https://groups.google.com/d/msgid/ansible-project/085344f6-fa0a-4b8c-821a-abc1fdf6ec3a%40googlegroups.com
>     
> <https://groups.google.com/d/msgid/ansible-project/085344f6-fa0a-4b8c-821a-abc1fdf6ec3a%40googlegroups.com>
>     >
>     
> <https://groups.google.com/d/msgid/ansible-project/085344f6-fa0a-4b8c-821a-abc1fdf6ec3a%40googlegroups.com?utm_medium=email&utm_source=footer
>     
> <https://groups.google.com/d/msgid/ansible-project/085344f6-fa0a-4b8c-821a-abc1fdf6ec3a%40googlegroups.com?utm_medium=email&utm_source=footer>>.
> 
> 
> 
>     -- 
>     Ecommerce and Linux consulting + Perl and web application programming.
>     Debian and Sympa administration. Provisioning with Ansible.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to
> [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/e38fdd60-4b14-471e-9b4e-d321c87d152a%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/e38fdd60-4b14-471e-9b4e-d321c87d152a%40googlegroups.com?utm_medium=email&utm_source=footer>.


-- 
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/441654e5-ee5c-db08-53ff-00f3f62ca900%40linuxia.de.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to