aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/set_package_installer_proxy/templates/apt_conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/set_package_installer_proxy/templates/apt_conf.j2')
-rw-r--r--ansible/roles/set_package_installer_proxy/templates/apt_conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/set_package_installer_proxy/templates/apt_conf.j2 b/ansible/roles/set_package_installer_proxy/templates/apt_conf.j2
new file mode 100644
index 000000000..5b57178a7
--- /dev/null
+++ b/ansible/roles/set_package_installer_proxy/templates/apt_conf.j2
@@ -0,0 +1,3 @@
+{% if "http_proxy" in proxy_env %}
+Acquire::http::Proxy "{{ proxy_env.http_proxy }}";
+{% endif %}