r/k8s-worker: Fix typo in variable name
This typographical error was causing the "join" tasks to be executed every time.
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
stat:
|
||||
path: /var/lib/kubelet/config.yaml
|
||||
ignore_errors: true
|
||||
register: stat_kublet_config
|
||||
register: stat_kubelet_config
|
||||
tags:
|
||||
- kubeadm-join
|
||||
|
||||
- name: add node to cluster
|
||||
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:
|
||||
- kubeadm-join
|
||||
block:
|
||||
|
||||
Reference in New Issue
Block a user