vdk/roles/weareinteractive.apt/templates/etc/apt/apt.conf.d/00proxy.j2
2020-01-13 14:51:16 +01:00

12 lines
447 B
Django/Jinja
Executable File

// {{ ansible_managed }}
{% if apt_http_proxy_address is defined and apt_http_proxy_address %}
Acquire::http::Proxy "{{ apt_http_proxy_address }}";
{% endif %}
{% if apt_https_proxy_address is defined and apt_https_proxy_address %}
Acquire::https::Proxy "{{ apt_https_proxy_address }}";
{% endif %}
{% if apt_http_pipeline_depth is defined and apt_http_pipeline_depth %}
Acquire::http::Pipeline-Depth "{{ apt_http_pipeline_depth }}";
{% endif %}