kubeadm join path fixed for RH linux (#4987)

Signed-off-by: Vitaliy Dmitriev <vi7alya@gmail.com>
This commit is contained in:
Vitaliy Dmitriev 2019-07-19 14:59:13 +02:00 committed by Kubernetes Prow Robot
parent 7d8da8348e
commit 2b69befb59

View file

@ -70,7 +70,7 @@
- name: Join to cluster if needed
environment:
PATH: "{{ bin_dir }}:{{ ansible_env.PATH }}"
PATH: "{{ bin_dir }}:{{ ansible_env.PATH }}:/sbin" # Make sure we can workaround RH / CentOS conservative path management
when: not is_kube_master and (not kubelet_conf.stat.exists)
block: