From 77eeeaa49f36822bd2468ef8640113bd3c9328b1 Mon Sep 17 00:00:00 2001 From: jmdekker2 Date: Fri, 6 Jun 2025 07:26:30 +0200 Subject: [PATCH] Update install_nextcloud.yml --- install_nextcloud.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install_nextcloud.yml b/install_nextcloud.yml index d3dbb9b..740e6d1 100644 --- a/install_nextcloud.yml +++ b/install_nextcloud.yml @@ -212,6 +212,15 @@ creates: /var/www/nextcloud/config/config.php chdir: /var/www/nextcloud + - name: Wacht tot Nextcloud config:system commando beschikbaar is + shell: sudo -u www-data php /var/www/nextcloud/occ list + register: occ_list_output + retries: 5 + delay: 10 + until: "'config:system' in occ_list_output.stdout" + args: + chdir: /var/www/nextcloud + - name: Voeg domein toe aan trusted_domains shell: > sudo -u www-data php /var/www/nextcloud/occ config:system:set trusted_domains 1