15 lines
526 B
Plaintext
15 lines
526 B
Plaintext
|
#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 %}
|