From 5c9c9c25c9ddf69c269be6dd0204d44cc713a5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgaras=20Giedr=C4=97?= Date: Tue, 1 Oct 2024 15:38:08 +0300 Subject: [PATCH] fix: Use correct elastic_cluster_health options for retries (#21) --- defaults/main.yml | 2 +- tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 47f7eb45..f4ece0f3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -72,4 +72,4 @@ es_delete_unmanaged_file: true es_delete_unmanaged_native: true es_healthcheck_auth_scheme: https -es_healthcheck_timeout: 3600 +es_healthcheck_retries: 360 diff --git a/tasks/main.yml b/tasks/main.yml index 5b3c2121..7796ffea 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -68,7 +68,7 @@ auth_method: http_auth wait_for: status to_be: green - timeout: "{{ es_healthcheck_timeout }}" + poll: "{{ es_healthcheck_retries }}" when: not es_bootstrap | default(false) - name: flush handlers