From 2c4b11f3217bed20342dac0f7938e55b14d1161b Mon Sep 17 00:00:00 2001 From: Artem Panchenko Date: Wed, 23 Nov 2016 08:48:12 +0200 Subject: [PATCH] Fix Calico jinja template (systemd) --- roles/network_plugin/calico/templates/calico-node.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/network_plugin/calico/templates/calico-node.service.j2 b/roles/network_plugin/calico/templates/calico-node.service.j2 index afd225beb..ed70db19a 100644 --- a/roles/network_plugin/calico/templates/calico-node.service.j2 +++ b/roles/network_plugin/calico/templates/calico-node.service.j2 @@ -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