From e3ca9c7052bdf5a4fabb506f65e3bda6b4c11f88 Mon Sep 17 00:00:00 2001
From: Vincent Simonin <vincent.simonin@ext.ec.europa.eu>
Date: Thu, 3 Aug 2023 18:17:57 +0200
Subject: [PATCH] Wait 10 seconds after service start up

---
 ansible/deploy_on_test.yml | 4 ++++
 ansible/start.yml          | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ansible/deploy_on_test.yml b/ansible/deploy_on_test.yml
index 0144b17..0a1a7c3 100644
--- a/ansible/deploy_on_test.yml
+++ b/ansible/deploy_on_test.yml
@@ -32,3 +32,7 @@
         project_src: "/home/debian/netbox/{{ lookup('ansible.builtin.env','CI_PIPELINE_ID') }}/"
         state: present
         pull: true
+
+    - name: Pause for 10 seconds
+      ansible.builtin.pause:
+      seconds: 10
diff --git a/ansible/start.yml b/ansible/start.yml
index ab9e9d2..66b165c 100644
--- a/ansible/start.yml
+++ b/ansible/start.yml
@@ -17,7 +17,3 @@
           - docker-compose.testci.yml
         state: present
         remove_orphans: true
-
-    - name: Pause for 10 seconds
-      ansible.builtin.pause:
-      seconds: 10
-- 
GitLab