Merge pull request #1743 from rsmitty/kube-client

Don't delegate cert gathering before creating admin.conf
This commit is contained in:
Spencer Smith 2017-10-04 15:38:21 -04:00 committed by GitHub
commit 891269ef39

View file

@ -16,8 +16,6 @@
- name: Gather certs for admin kubeconfig - name: Gather certs for admin kubeconfig
slurp: slurp:
src: "{{ item }}" src: "{{ item }}"
delegate_to: "{{ groups['kube-master'][0] }}"
delegate_facts: no
register: admin_certs register: admin_certs
with_items: with_items:
- "{{ kube_cert_dir }}/ca.pem" - "{{ kube_cert_dir }}/ca.pem"