diff --git a/roles/kubernetes/preinstall/tasks/0050-create_directories.yml b/roles/kubernetes/preinstall/tasks/0050-create_directories.yml index 53c5408e1..93b95a32b 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