Add kubelet path for kubeadm.

This commit is contained in:
Takashi Okamoto 2018-09-19 08:48:45 +09:00
parent 3d27007750
commit 95703fb6f2

View file

@ -57,6 +57,8 @@
--ignore-preflight-errors=all
register: kubeadm_join
when: not is_kube_master and (not kubelet_conf.stat.exists)
environment:
PATH: "{{ bin_dir }}:{{ ansible_env.PATH }}"
- name: Wait for kubelet bootstrap to create config
wait_for: