how to install pip2.7 packages with ansible.

135 views
Skip to first unread message

Roy

unread,
Sep 23, 2015, 1:40:21 PM9/23/15
to Ansible Project
Hi,

   We have Centos 6.5 with python2.6 as default and python2.7 also on it.
 
So how do we install python packages for pip2.7 ?

There is no module name pip2.7 in ansible.

any help here ?

Brian Coca

unread,
Sep 23, 2015, 1:43:41 PM9/23/15
to Ansible Project
use the executable option of the module to specify the pip2.7 over the
default pip.
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/2ebbb141-4c1a-426d-9215-b3b601dcab9f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Brian Coca

Roy

unread,
Sep 28, 2015, 5:37:29 PM9/28/15
to Ansible Project
thanks
Reply all
Reply to author
Forward
0 new messages