|
@@ -2,13 +2,13 @@
|
|
|
|
|
|
[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 -%}
|
|
{% endif -%}
|
|
{% if "https_proxy" in openshift.common %}
|
|
{% if "https_proxy" in openshift.common %}
|
|
-ENVIRONMENT=HTTPS_PROXY={{ docker_http_proxy }}
|
|
|
|
|
|
+Environment=HTTPS_PROXY={{ docker_http_proxy }}
|
|
{% endif -%}
|
|
{% endif -%}
|
|
{% if "no_proxy" in openshift.common %}
|
|
{% 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]
|