Merge pull request #1192 from davidebelloni/master

Adding Proxy support
pull/1140/merge
Sébastien Han 2016-12-15 17:38:38 +01:00 committed by GitHub
commit fbeacb325c
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
---
- name: download get_pip.py
raw: cd $HOME && wget {{pip_url}}
raw: cd $HOME && https_proxy="{{ lookup('env', 'https_proxy') }}" wget {{pip_url}}
- name: run get-pip.py
raw: "{{pypy_binary_directory}}/python $HOME/get-pip.py"
raw: "{{pypy_binary_directory}}/python $HOME/get-pip.py --proxy='{{ lookup('env', 'https_proxy') }}'"
- name: create local temp directory
local_action: raw mkdir -p {{local_temp_directory}}

View File

@ -1,6 +1,6 @@
---
- name: download python
raw: cd $HOME && wget -O - {{coreos_pypy_url}} |tar -xjf -
raw: cd $HOME && https_proxy="{{ lookup('env', 'https_proxy') }}" wget -O - {{coreos_pypy_url}} |tar -xjf -
- name: create pypy_directory
raw: mkdir -p {{pypy_binary_directory}}