diff --git a/roles/kubernetes-apps/network_plugin/flannel/tasks/main.yml b/roles/kubernetes-apps/network_plugin/flannel/tasks/main.yml index 607c7d617..d40a6ceaf 100644 --- a/roles/kubernetes-apps/network_plugin/flannel/tasks/main.yml +++ b/roles/kubernetes-apps/network_plugin/flannel/tasks/main.yml @@ -20,3 +20,4 @@ path: /run/flannel/subnet.env delay: 5 timeout: 600 + when: inventory_hostname == groups['kube-master'][0]