roles/docker: Install and set up Docker daemon

The *docker* role configures the Docker daemon on the managed machine.
This commit is contained in:
2019-09-19 17:21:15 -05:00
parent e7ad80d173
commit 1f535e980f
16 changed files with 267 additions and 0 deletions

View 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 %}