|
|
@ -1,8 +1,8 @@ |
|
|
|
# Deployed by Ansible |
|
|
|
{% if ansible_service_mgr in ["sysvinit","upstart"] and kube_network_plugin == "flannel" and ansible_os_family == "Debian" %} |
|
|
|
DOCKER_OPTS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}" |
|
|
|
DOCKER_OPTS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }} {% if docker_options is defined %}{{ docker_options }}{% endif %}" |
|
|
|
{% elif kube_network_plugin == "flannel" and ansible_os_family == "RedHat" %} |
|
|
|
DOCKER_NETWORK_OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}" |
|
|
|
DOCKER_NETWORK_OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }} {% if docker_options is defined %}{{ docker_options }}{% endif %}" |
|
|
|
{% elif kube_network_plugin == "flannel" %} |
|
|
|
OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}" |
|
|
|
OPTIONS="--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }} {% if docker_options is defined %}{{ docker_options }}{% endif %}" |
|
|
|
{% endif %} |