commit | 4834dcc7b4f5c07755c9ae1ab09ef455df6684af | [log] [tgz] |
---|---|---|
author | Carlos Frias <carlos.frias.01@gmail.com> | Wed Nov 08 09:21:44 2017 -0500 |
committer | Carlos Frias <carlos.frias.01@gmail.com> | Wed Nov 08 09:21:44 2017 -0500 |
tree | 3838f1f26326d0e678ba77d4bf374f1e588bb8fe | |
parent | ddfdb14630db78d6fc35dc0c9d64d7a0e525df91 [diff] |
updated template
diff --git a/templates/pip.conf.j2 b/templates/pip.conf.j2 index 9580fd3..e19e56a 100644 --- a/templates/pip.conf.j2 +++ b/templates/pip.conf.j2
@@ -1,5 +1,8 @@ [global] index-url = {{ pip_index_url }} +{% if http_proxy is defined %} +proxy = {{ http_proxy }} +{% endif %} {% if pip_trusted_hosts is defined %} [install]