c12s-kubespray/roles/network_plugin/flannel/templates/docker

18 lines
736 B
Text
Raw Normal View History

2016-01-09 09:45:50 +00:00
# Deployed by Ansible
2016-06-02 19:01:41 +00:00
{% if (ansible_service_mgr in ["sysvinit","upstart"] and ansible_os_family == "Debian") or (ansible_os_family == "CoreOS") %}
DOCKER_OPTS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }} {% if docker_options is defined %}{{ docker_options }}{% endif %}"
2016-06-02 19:01:41 +00:00
{% else %}
OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }} {% if docker_options is defined %}{{ docker_options }}{% endif %}"
2016-01-09 09:45:50 +00:00
{% endif %}
{% if (ansible_service_mgr in ["sysvinit","upstart"] and ansible_os_family == "Debian") %}
{% if http_proxy %}
export HTTP_PROXY="{{ http_proxy }}"
{% endif %}
{% if https_proxy %}
export HTTPS_PROXY="{{ https_proxy }}"
{% endif %}
{% if no_proxy %}
export NO_PROXY="{{ no_proxy }}"
{% endif %}
{% endif %}