|
@@ -1,15 +1,15 @@
|
|
# {{ ansible_managed }}
|
|
# {{ ansible_managed }}
|
|
|
|
|
|
[Service]
|
|
[Service]
|
|
-{%- if "http_proxy" in openshift.common %}
|
|
|
|
|
|
+{% if "http_proxy" in openshift.common %}
|
|
ENVIRONMENT=HTTP_PROXY={{ docker_http_proxy }}
|
|
ENVIRONMENT=HTTP_PROXY={{ docker_http_proxy }}
|
|
-{%- endif -%}
|
|
|
|
-{%- if "https_proxy" in openshift.common %}
|
|
|
|
|
|
+{% endif -%}
|
|
|
|
+{% if "https_proxy" in openshift.common %}
|
|
ENVIRONMENT=HTTPS_PROXY={{ docker_http_proxy }}
|
|
ENVIRONMENT=HTTPS_PROXY={{ docker_http_proxy }}
|
|
-{%- endif -%}
|
|
|
|
-{%- if "no_proxy" in openshift.common %}
|
|
|
|
|
|
+{% endif -%}
|
|
|
|
+{% if "no_proxy" in openshift.common %}
|
|
ENVIRONMENT=NO_PROXY={{ docker_no_proxy }}
|
|
ENVIRONMENT=NO_PROXY={{ docker_no_proxy }}
|
|
-{%- endif %}
|
|
|
|
|
|
+{% endif %}
|
|
{%- if os_firewall_use_firewalld|default(false) %}
|
|
{%- if os_firewall_use_firewalld|default(false) %}
|
|
[Unit]
|
|
[Unit]
|
|
Wants=iptables.service
|
|
Wants=iptables.service
|