From 6272703bec41f76166534d76ad3e1b1f08a773cd Mon Sep 17 00:00:00 2001 From: XaverStiensmeier Date: Thu, 16 May 2024 15:46:46 +0200 Subject: [PATCH] dirty fix for service being too fast for startup --- bibigrid/core/utility/ansible_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibigrid/core/utility/ansible_commands.py b/bibigrid/core/utility/ansible_commands.py index fc6c2815..782f87da 100644 --- a/bibigrid/core/utility/ansible_commands.py +++ b/bibigrid/core/utility/ansible_commands.py @@ -54,6 +54,6 @@ "Execute ansible playbook. Be patient.") # ansible setup -UPDATE = ("sudo apt-get update", "Update apt repository lists.") +UPDATE = ("sleep 60 && sudo apt-get update", "Update apt repository lists.") # dirty fix PYTHON3_PIP = "sudo apt-get install -y python3-pip", "Install python3 pip using apt." ANSIBLE_PASSLIB = ("sudo pip install ansible==6.6 passlib", "Install Ansible and Passlib using pip.")