da9da08964
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
6 lines
271 B
Django/Jinja
6 lines
271 B
Django/Jinja
[Service]
|
|
{% if ansible_os_family in ["CoreOS", "Container Linux by CoreOS"] %}
|
|
Environment="DOCKER_OPT_BIP=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
|
{% else %}
|
|
Environment="DOCKER_NETWORK_OPTIONS=--bip={{ flannel_subnet }} --mtu={{ flannel_mtu }}"
|
|
{% endif %}
|