From 27aa5b82c158c8fa94bf30e4d11f33fe3c959a30 Mon Sep 17 00:00:00 2001
From: Tobias Winchen <tobias.winchen@rwth-aachen.de>
Date: Wed, 8 Sep 2021 11:21:47 +0200
Subject: [PATCH] Added multiple retries to deploy rxs dahoard

---
 roles/ska_proto_status_server/tasks/main.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/roles/ska_proto_status_server/tasks/main.yml b/roles/ska_proto_status_server/tasks/main.yml
index ec1da7dd..29586730 100644
--- a/roles/ska_proto_status_server/tasks/main.yml
+++ b/roles/ska_proto_status_server/tasks/main.yml
@@ -29,6 +29,10 @@
       Accept: "application/json"
     body: "{{ lookup('template', 'rxs_dashboard.json' ) }}"
     body_format: json
+  retries: 3
+  delay: 10
+  register: result
+  until: result is not failed
   tags:
     - dashboard
 
-- 
GitLab