summaryrefslogtreecommitdiffstats
path: root/roles/docker/templates/systemcontainercustom.conf.j2
blob: a2cfed8a97591fa4cd28793e615aa65a014ae7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# {{ ansible_managed }}

[Service]
{%- if docker_http_proxy %}
ENVIRONMENT=HTTP_PROXY={{ docker_http_proxy }}
{%- endif -%}
{%- if docker_https_proxy %}
ENVIRONMENT=HTTPS_PROXY={{ docker_http_proxy }}
{%- endif -%}
{%- if docker_no_proxy %}
ENVIRONMENT=NO_PROXY={{ docker_no_proxy }}
{%- endif %}
{%- if os_firewall_use_firewalld|default(true) %}
[Unit]
Wants=iptables.service
After=iptables.service
{%- endif %}