xoxys.docker_engine/templates/etc/sysconfig/docker.j2

15 lines
526 B
Plaintext
Raw Normal View History

#jinja2: lstrip_blocks: True
2019-08-27 22:02:41 +02:00
{{ ansible_managed | comment }}
2023-02-18 16:04:02 +01:00
OPTIONS='{{'--userns-remap=' + dockerengine_nsremap_user + ':' + dockerengine_nsremap_user if dockerengine_usernamespace_enabled | bool else '' }}'
2018-12-12 23:25:36 +01:00
# 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 %}