r/k8s-worker: Fix typo in variable name
This typographical error was causing the "join" tasks to be executed every time.unifi-restore
parent
61a4f64bbb
commit
e65bcc25ba
|
@ -5,13 +5,13 @@
|
||||||
stat:
|
stat:
|
||||||
path: /var/lib/kubelet/config.yaml
|
path: /var/lib/kubelet/config.yaml
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
register: stat_kublet_config
|
register: stat_kubelet_config
|
||||||
tags:
|
tags:
|
||||||
- kubeadm-join
|
- kubeadm-join
|
||||||
|
|
||||||
- name: add node to cluster
|
- name: add node to cluster
|
||||||
when:
|
when:
|
||||||
stat_kubelet_config is not defined or not stat_kublet_config.stat.exists
|
stat_kubelet_config is not defined or not stat_kubelet_config.stat.exists
|
||||||
tags:
|
tags:
|
||||||
- kubeadm-join
|
- kubeadm-join
|
||||||
block:
|
block:
|
||||||
|
|
Loading…
Reference in New Issue