From 6f64a1d233cdb2629ef1b9b3702854621247b7dc Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 18 Mar 2021 16:16:28 +0100 Subject: Fix custom config filename and cron user --- roles/nextcloud/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index ab10770..3e143a8 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -50,7 +50,7 @@ - name: generate nextcloud custom config template: src: var-www-nextcloud-config-custom.config.php.j2 - dest: /var/www/nextcloud/config/custom.config.php.j2 + dest: /var/www/nextcloud/config/custom.config.php owner: "www" group: "www" mode: "0644" @@ -66,6 +66,7 @@ name: "nextcloud indexing" minute: "*/5" job: "php -f /var/www/nextcloud/cron.php" + user: www - name: ensure directories are chow to www file: -- cgit v1.2.3