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

This commit is contained in:
Matthew Mosesohn 2019-04-22 01:27:43 +03:00 committed by Kubernetes Prow Robot
parent ada5941a70
commit 09fe95bc60

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