From 3b3005495860cdb9c162032629c2dd64467f144a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 14 Feb 2020 09:27:44 +0000 Subject: [PATCH] Add helper script to access Nextcloud's occ cli --- ansible/roles/docker/files/docker-utils/occ.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ansible/roles/docker/files/docker-utils/occ.sh diff --git a/ansible/roles/docker/files/docker-utils/occ.sh b/ansible/roles/docker/files/docker-utils/occ.sh new file mode 100644 index 0000000..66fb2f7 --- /dev/null +++ b/ansible/roles/docker/files/docker-utils/occ.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -e + +docker-compose -f /opt/nextcloud/docker-compose.yml exec -u abc nextcloud php /config/www/nextcloud/occ $@