mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update pip.py (#47568)
adding the option to install pip modules via proxy, as per https://github.com/ansible/ansible/issues/36333#issuecomment-366374083
This commit is contained in:
parent
e5a245de94
commit
e5664c45a5
1 changed files with 7 additions and 0 deletions
|
@ -135,6 +135,13 @@ EXAMPLES = '''
|
||||||
- django>1.11.0,<1.12.0
|
- django>1.11.0,<1.12.0
|
||||||
- bottle>0.10,<0.20,!=0.11
|
- bottle>0.10,<0.20,!=0.11
|
||||||
|
|
||||||
|
# Install python package using a proxy - it doesn't use the standard environment variables, please use the CAPITALIZED ones below
|
||||||
|
- pip:
|
||||||
|
name: six
|
||||||
|
environment:
|
||||||
|
HTTP_PROXY: '127.0.0.1:8080'
|
||||||
|
HTTPS_PROXY: '127.0.0.1:8080'
|
||||||
|
|
||||||
# Install (MyApp) using one of the remote protocols (bzr+,hg+,git+,svn+). You do not have to supply '-e' option in extra_args.
|
# Install (MyApp) using one of the remote protocols (bzr+,hg+,git+,svn+). You do not have to supply '-e' option in extra_args.
|
||||||
- pip:
|
- pip:
|
||||||
name: svn+http://myrepo/svn/MyApp#egg=MyApp
|
name: svn+http://myrepo/svn/MyApp#egg=MyApp
|
||||||
|
|
Loading…
Reference in a new issue