added the a preparing ansible playbooks for automating new servers
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[Service]
|
||||
{% if docker.http_proxy is defined %}
|
||||
Environment="HTTP_PROXY={{ docker.http_proxy }}"
|
||||
Environment="HTTPS_PROXY={{ docker.http_proxy }}"
|
||||
Environment="NO_PROXY={{ docker.no_proxy}}"
|
||||
{% endif %}
|
||||
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/dockerd \
|
||||
{% if docker.log_max_size is defined %}
|
||||
--log-opt max-size={{ docker.log_max_size }} --log-opt max-file={{ docker.log_max_file }} \
|
||||
{% endif %}
|
||||
{% if docker.registry_mirror is defined %}
|
||||
--registry-mirror={{ docker.registry_mirror }}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user