python - How can I execute « ./bin/pip install -e . » with pip ansible command? -
how can execute :
./bin/pip install -e .
with pip ansible command, don't see case in doc examples : http://docs.ansible.com/pip_module.html
you can use extra_args parameter of pip module specify additional arguments want pass. having said that, however, shouldn't need explicitly include -e in cases. per ansible documentaiton:
# install (myapp) using 1 of remote protocols (bzr+,hg+,git+,svn+). # not have supply '-e' option in extra_args. - pip: name='svn+http://myrepo/svn/myapp#egg=myapp'
so if you're installing remote repository set name full url of library install. , if want install library locally specify full path source directory. ansible module rest you.
Comments
Post a Comment