2023-06-05 22:55:25 +02:00
|
|
|
#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 %}
|