From ff5e487e3231b1d35c3d0d0ba2a6a1fa51c3832c Mon Sep 17 00:00:00 2001 From: Florian Ruynat <16313165+floryut@users.noreply.github.com> Date: Thu, 21 Jul 2022 17:23:39 +0200 Subject: [PATCH] Add retries to api servers response --- tests/testcases/010_check-apiserver.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testcases/010_check-apiserver.yml b/tests/testcases/010_check-apiserver.yml index e84bad264..a0a09a411 100644 --- a/tests/testcases/010_check-apiserver.yml +++ b/tests/testcases/010_check-apiserver.yml @@ -8,6 +8,9 @@ validate_certs: no status_code: 200 register: apiserver_response + retries: 12 + delay: 5 + until: apiserver_response is success - debug: # noqa unnamed-task msg: "{{ apiserver_response.json }}"