pip install in a virtual env

Hi,

First of all I’m not an IT guy so you have to excuse me for any basic questions that I probably make.

I’m trying to replicate an installation of CKAN through Ansible in a Ubuntu 14.04 virtual machine (I’m beyond a proxy)

Because I’m quiet ignorant in Ansible, I use the “shell” command to do almost everything (I imagine that is quiet wrong but it has worked so far…)

I’m trying to replicate this comand that I make via terminal:

`
. /usr/lib/ckan/default/bin/activate # activate virtualenv

pip install -e ‘git+https://github.com/ckan/ckan.git@ckan-2.5.3#egg=ckan’

pip install -r /usr/lib/ckan/default/src/ckan/requirements.txt
`

In an ansible file I have like this:

`

Try the pip module with environment:

Small typo in the previous reply. Here is the correct one:

Thank you so much Nehal !!
I’ve been stuck with this for more than 1 day…

thanks again

domingo, 26 de Fevereiro de 2017 às 11:10:24 UTC, Nehal J Wani escreveu: