added the a preparing ansible playbooks for automating new servers

This commit is contained in:
rezayaghobi-dev
2026-08-23 22:11:09 +03:30
parent e8422c0006
commit aedfdbddb7
73 changed files with 2971 additions and 44 deletions

View File

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