1234567891011121314151617 |
- # {{ ansible_managed }}
- [Service]
- {% if "http_proxy" in openshift.common %}
- Environment=HTTP_PROXY={{ docker_http_proxy }}
- {% endif -%}
- {% if "https_proxy" in openshift.common %}
- Environment=HTTPS_PROXY={{ docker_http_proxy }}
- {% endif -%}
- {% if "no_proxy" in openshift.common %}
- Environment=NO_PROXY={{ docker_no_proxy }}
- {% endif %}
- {%- if os_firewall_use_firewalld|default(false) %}
- [Unit]
- Wants=iptables.service
- After=iptables.service
- {%- endif %}
|