systemcontainercustom.conf.j2 459 B

1234567891011121314151617
  1. # {{ ansible_managed }}
  2. [Service]
  3. {%- if "http_proxy" in openshift.common %}
  4. ENVIRONMENT=HTTP_PROXY={{ docker_http_proxy }}
  5. {%- endif -%}
  6. {%- if "https_proxy" in openshift.common %}
  7. ENVIRONMENT=HTTPS_PROXY={{ docker_http_proxy }}
  8. {%- endif -%}
  9. {%- if "no_proxy" in openshift.common %}
  10. ENVIRONMENT=NO_PROXY={{ docker_no_proxy }}
  11. {%- endif %}
  12. {%- if os_firewall_use_firewalld|default(false) %}
  13. [Unit]
  14. Wants=iptables.service
  15. After=iptables.service
  16. {%- endif %}