diff --git a/roles/network_plugin/tasks/calico.yml b/roles/network_plugin/tasks/calico.yml index 4a935c5afe60d49a23e3066685a4d9ec02c85d5e..1ba00f6fef230b3a8cc93fef7af547e1bbbc8468 100644 --- a/roles/network_plugin/tasks/calico.yml +++ b/roles/network_plugin/tasks/calico.yml @@ -14,6 +14,7 @@ environment: ETCD_AUTHORITY: "{{ groups['etcd'][0] }}:2379" run_once: true + delegate_to: "{{ groups['etcd'][0] }}" - name: Calico | Write calico-node systemd init file template: src=calico/calico-node.service.j2 dest=/etc/systemd/system/calico-node.service