Create pip.conf from a template, handle proxy network
This commit is contained in:
8
roles/python/templates/pip.conf.j2
Normal file
8
roles/python/templates/pip.conf.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
[global]
|
||||
break-system-packages = true
|
||||
{% if ansible_env.http_proxy is defined %}
|
||||
proxy = {{ ansible_env.http_proxy }}
|
||||
{% endif %}
|
||||
|
||||
[list]
|
||||
format=columns
|
||||
Reference in New Issue
Block a user