mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Rework ignore_errors to report no reds
Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
- name: Configure | Check if cluster is healthy
|
||||
shell: "{{ bin_dir }}/etcdctl --peers={{ etcd_access_addresses }} cluster-health | grep -q 'cluster is healthy'"
|
||||
register: etcd_cluster_is_healthy
|
||||
ignore_errors: true
|
||||
failed_when: false
|
||||
changed_when: false
|
||||
when: is_etcd_master
|
||||
tags: facts
|
||||
|
||||
Reference in New Issue
Block a user