From 4359f86e56f7a564312e0ecc319d84709923391a Mon Sep 17 00:00:00 2001 From: olli Date: Mon, 21 Aug 2023 16:59:37 +0200 Subject: [PATCH] nextcloud.yml aktualisiert --- nextcloud.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nextcloud.yml b/nextcloud.yml index ee3b4ce..1234a35 100644 --- a/nextcloud.yml +++ b/nextcloud.yml @@ -290,6 +290,13 @@ create: yes marker: "# {mark} ANSIBLE MANAGED BLOCK" block: | + # waiting for started Nextcloud (Login-Screen) + until wget nextcloud.{{inventory_hostname}} -O - | grep -q Login + do + echo "Waiting for Login screen..." + sleep 10 + done + # nextcloud cd /home/docker/nextcloud.{{inventory_hostname}} || exit 1