xoxys.dockerengine/templates/etc/sysconfig/docker.j2
2024-01-25 10:04:31 +01: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 %}