diff --git a/roles/network_plugin/calico/templates/calico-node.service.j2 b/roles/network_plugin/calico/templates/calico-node.service.j2 index 4c709705d144aafdbb29cde88168cb1e8a66aff8..cd4f286794dfd7e0468587f83aecabb1b235e4d3 100644 --- a/roles/network_plugin/calico/templates/calico-node.service.j2 +++ b/roles/network_plugin/calico/templates/calico-node.service.j2 @@ -13,7 +13,7 @@ ExecStart={{ bin_dir }}/calicoctl node --ip={{ip | default(ansible_default_ipv4. ExecStart={{ bin_dir }}/calicoctl node --ip={{ip | default(ansible_default_ipv4.address) }} --detach=false {% endif %} Restart=always -Restart=10 +RestartSec=10s [Install] WantedBy=multi-user.target