Fix missing broken_etcd filter in recover control plane task (#7619)
parent
b3d9f2b4a2
commit
c1aa755a3c
|
@ -24,6 +24,8 @@
|
||||||
- name: Set has_quorum fact
|
- name: Set has_quorum fact
|
||||||
set_fact:
|
set_fact:
|
||||||
has_quorum: "{{ etcd_endpoint_health.stderr_lines | select('match', '.*is healthy.*') | list | length >= etcd_endpoint_health.stderr_lines | select('match', '.*is unhealthy.*') | list | length }}"
|
has_quorum: "{{ etcd_endpoint_health.stderr_lines | select('match', '.*is healthy.*') | list | length >= etcd_endpoint_health.stderr_lines | select('match', '.*is unhealthy.*') | list | length }}"
|
||||||
|
when:
|
||||||
|
- groups['broken_etcd']
|
||||||
|
|
||||||
- include_tasks: recover_lost_quorum.yml
|
- include_tasks: recover_lost_quorum.yml
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue