Avoid creating k8s cert dir on non-k8s nodes (#4602)

pull/3798/head
Matthew Mosesohn 2019-04-22 01:27:43 +03:00 committed by Kubernetes Prow Robot
parent ada5941a70
commit 09fe95bc60
1 changed files with 1 additions and 0 deletions

View File

@ -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