roles/docker: Install and set up Docker daemon
The *docker* role configures the Docker daemon on the managed machine.
This commit is contained in:
12
roles/docker/templates/http-proxy.conf.j2
Normal file
12
roles/docker/templates/http-proxy.conf.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
{% if http_proxy is defined or http_proxy is defined %}
|
||||
[Service]
|
||||
{% if http_proxy is defined %}
|
||||
Environment=HTTP_PROXY={{ http_proxy }}
|
||||
{% endif %}
|
||||
{% if https_proxy is defined %}
|
||||
Environment=HTTPS_PROXY={{ https_proxy }}
|
||||
{% endif %}
|
||||
{% if no_proxy is defined %}
|
||||
Environment=NO_PROXY={{ no_proxy|join(',') }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user