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