COMPONENT NAME

pip


ANSIBLE VERSION

ansible 2.8.4
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u
'/home/jamekeit/.ansible/plugins/modules', u
'/usr/share/ansible/plugins/modules']

CONFIGURATION

N/A


OS / ENVIRONMENT

OS running from Red Hat Enterprise Linux Server 7.5

OS managing: SLES 15-SP1


SUMMARY

I am trying to install virtualenv tool to create isolated Python 
environments, but it is unable to find the pip executable through Ansible. 
I have run pip install virtuaenvmanually on SLES 15-SP1 and it works 
successfully.


Tasks:


- name: install pip
  easy_install:
    name: pip
    state: latest
- name: install additional pip modules
  pip:
    name: virtualenv
    executable: pip-3.6
  environment:
    http_proxy: "http://proxy.houston.hpecorp.net:8080";
    https_proxy: "http://proxy.houston.hpecorp.net:8080";


Error:


TASK [buildservers : install additional pip modules] 
************************************************************************************************************************



fatal: [abls15ex6406]: FAILED! => {"changed": false, "msg": "Unable to find 
any of pip-2.7 to use.  pip needs to be installed."}


PIP is already installed on the host.


Help will be appreciated!

-- 
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/4e93bdba-b9ce-4a57-8294-bd0046a4f627%40googlegroups.com.

Reply via email to