don't sync certs on masters, already done in another task

This commit is contained in:
Smaine Kahlouch 2015-12-21 14:24:57 +01:00
parent 7315d33e3c
commit 680864f95c

View file

@ -48,3 +48,4 @@
- "{{ kube_cert_dir}}/node.pem"
- "{{ kube_cert_dir}}/node-key.pem"
delegate_to: "{{ groups['kube-master'][0] }}"
when: inventory_hostname not in "{{ groups['kube-master'] }}"