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