Add kubelet path for kubeadm.

pull/3342/head
Takashi Okamoto 2018-09-19 08:48:45 +09:00
parent 3d27007750
commit 95703fb6f2
1 changed files with 2 additions and 0 deletions

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: