mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-23 20:05:05 -02:30
* check if 'plugins' key exists in calico_cni_config object * fix whitespace linting error * fixed when list indentation Co-authored-by: David Louks <2402775+dlouks@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,9 @@
|
|||||||
- name: Set fact calico_datastore to etcd if needed
|
- name: Set fact calico_datastore to etcd if needed
|
||||||
set_fact:
|
set_fact:
|
||||||
calico_datastore: etcd
|
calico_datastore: etcd
|
||||||
when: "'etcd_endpoints' in calico_cni_config.plugins.0"
|
when:
|
||||||
|
- "'plugins' in calico_cni_config"
|
||||||
|
- "'etcd_endpoints' in calico_cni_config.plugins.0"
|
||||||
when: calico_cni_config_slurp.content is defined
|
when: calico_cni_config_slurp.content is defined
|
||||||
|
|
||||||
- name: Calico | Get kubelet hostname
|
- name: Calico | Get kubelet hostname
|
||||||
|
|||||||
Reference in New Issue
Block a user