mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-07-07 18:58:05 +00:00
Fix inverted ignore_errors condition for etcd-events service startup (#13343)
The ignore_errors condition on the etcd-events service startup task
(Configure | Ensure etcd-events is running) uses != instead of ==,
which is the inverse of the correct pattern used for the main etcd
service on the line above.
This was introduced in commit 7516fe142 when the # noqa ignore-errors
comment was added to the line, accidentally flipping the operator.
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
name: etcd-events
|
||||
state: started
|
||||
enabled: true
|
||||
ignore_errors: "{{ etcd_events_cluster_is_healthy.rc != 0 }}" # noqa ignore-errors
|
||||
ignore_errors: "{{ etcd_events_cluster_is_healthy.rc == 0 }}" # noqa ignore-errors
|
||||
when:
|
||||
- ('etcd' in group_names)
|
||||
- etcd_events_cluster_setup
|
||||
|
||||
Reference in New Issue
Block a user