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

pull/32/head
Smaine Kahlouch 2015-12-21 14:24:57 +01:00
parent 7315d33e3c
commit 680864f95c
1 changed files with 1 additions and 0 deletions

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'] }}"