diff --git a/roles/kubernetes/preinstall/tasks/0050-create_directories.yml b/roles/kubernetes/preinstall/tasks/0050-create_directories.yml
index 53c5408e1e788b4d62d20482ec71f64aacdd040c..93b95a32b180a4879ebea7208c2fdb700b7ff091 100644
--- a/roles/kubernetes/preinstall/tasks/0050-create_directories.yml
+++ b/roles/kubernetes/preinstall/tasks/0050-create_directories.yml
@@ -29,6 +29,7 @@
     dest: "{{ kube_cert_compat_dir }}"
     state: link
   when:
+    - inventory_hostname in groups['k8s-cluster']
     - kube_cert_dir != kube_cert_compat_dir
 
 - name: Create cni directories