aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-03-18 16:16:28 +0100
committerbinary <me@rgoncalves.se>2021-03-18 16:16:28 +0100
commit6f64a1d233cdb2629ef1b9b3702854621247b7dc (patch)
treef5e8b251481247370b22a751cbe3808b6bcab2c7 /roles/nextcloud/tasks
parentdacf46aae03252db413479c97314532361c0db2f (diff)
downloadinfrastructure-6f64a1d233cdb2629ef1b9b3702854621247b7dc.tar.gz
Fix custom config filename and cron user
Diffstat (limited to 'roles/nextcloud/tasks')
-rw-r--r--roles/nextcloud/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
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:
remember that computers suck.