mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-26 07:26:09 -03:30
fallback_ips: ignore unreachable hosts (#10601)
Sets ignore_unreachable: true to `Gather ansible_default_ipv4 from all hosts` task from fallback_ips.yml Without this scale.yml will fail if a single node in the cluster is down, which for large clusters happens often.
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
when: hostvars[item].ansible_default_ipv4 is not defined
|
when: hostvars[item].ansible_default_ipv4 is not defined
|
||||||
loop: "{{ (groups['k8s_cluster'] | default([]) + groups['etcd'] | default([]) + groups['calico_rr'] | default([])) | unique }}"
|
loop: "{{ (groups['k8s_cluster'] | default([]) + groups['etcd'] | default([]) + groups['calico_rr'] | default([])) | unique }}"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
ignore_unreachable: true
|
||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
- name: Create fallback_ips_base
|
- name: Create fallback_ips_base
|
||||||
|
|||||||
Reference in New Issue
Block a user