xoxys.docker_engine/templates/etc/sysconfig/docker.j2
Robert Kaussow e9e83d2f8d
All checks were successful
continuous-integration/drone/push Build is passing
feat: add option to add custom unit override options (#5)
Reviewed-on: #5
2023-06-05 22:55:25 +02:00

15 lines
526 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
OPTIONS='{{'--userns-remap=' + dockerengine_nsremap_user + ':' + dockerengine_nsremap_user if dockerengine_usernamespace_enabled | bool else '' }}'
# Proxy settings
{% if dockerengine_http_proxy is defined %}
HTTP_PROXY={{ dockerengine_http_proxy }}
{% endif %}
{% if dockerengine_https_proxy is defined %}
HTTPS_PROXY={{ dockerengine_https_proxy }}
{% endif %}
{% if dockerengine_no_proxy is defined %}
NO_PROXY={{ dockerengine_no_proxy|join(',') }}"
{% endif %}