From 20ef211f6a045ebfdf786564b6af3936345bbdc3 Mon Sep 17 00:00:00 2001 From: chenxing Date: Fri, 22 Mar 2019 15:54:13 +0800 Subject: [PATCH] Increase retries numbers of grafana check task 20 seconds may be too short to wait for grafana ready, Let's keep the check task 60 seconds. backport: rocky Change-Id: Ib219ad215d1ef2147ba3591f8c398feb4f3c8888 Closes-Bug: #1821285 --- ansible/roles/grafana/tasks/post_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/grafana/tasks/post_config.yml b/ansible/roles/grafana/tasks/post_config.yml index 2e4dccce08..438f38f57a 100644 --- a/ansible/roles/grafana/tasks/post_config.yml +++ b/ansible/roles/grafana/tasks/post_config.yml @@ -5,7 +5,7 @@ status_code: 200 register: result until: result.get('status') == 200 - retries: 10 + retries: 30 delay: 2 run_once: true