Fix Calico jinja template (systemd)

This commit is contained in:
Artem Panchenko 2016-11-23 08:48:12 +02:00
parent 793f3990a0
commit 2c4b11f321

View file

@ -20,6 +20,7 @@ ExecStart={{ bin_dir }}/calicoctl node run --ip={{ip | default(ansible_default_i
ExecStart={{ bin_dir }}/calicoctl node run --ip={{ip | default(ansible_default_ipv4.address) }} --node-image={{ calico_node_image_repo }}:{{ calico_node_image_tag }} {% if calico_network_backend is defined %}--backend={{calico_network_backend }}{% endif %}
{% endif %}
{% endif %}
Restart=always
RestartSec=10s