From 634babbea8a7e87eeb147ee0f63099fa1dd2ada9 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 10 Nov 2023 13:26:43 +0100 Subject: [PATCH] updated nextcloud state --- states/nextcloud/apps.sls | 3 +++ 1 file changed, 3 insertions(+) diff --git a/states/nextcloud/apps.sls b/states/nextcloud/apps.sls index d43b163..e8a75c4 100644 --- a/states/nextcloud/apps.sls +++ b/states/nextcloud/apps.sls @@ -5,9 +5,12 @@ nextcloud-apps-install-{{ app }}: cmd.run: - name: php {{ nextcloud.install_dir }}/nextcloud/occ app:install {{ app }} - runas: {{ nextcloud.user }} + - creates: {{ nextcloud.install_dir }}/nextcloud/apps/{{ app }} + - shell: /usr/bin/bash {%- endfor %} nextcloud-apps-update: cmd.run: - name: php {{ nextcloud.install_dir }}/nextcloud/occ app:update --all - runas: {{ nextcloud.user }} + - shell: /usr/bin/bash