From 7d4f2a89aa6a3ac1202f698ab6c343d756c3f53c Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Wed, 4 Sep 2019 21:53:53 +0200 Subject: [PATCH] server/nextcloud: Removed previewgenerator app --- roles/server/nextcloud/tasks/main.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/roles/server/nextcloud/tasks/main.yml b/roles/server/nextcloud/tasks/main.yml index d286aae..30f0c47 100644 --- a/roles/server/nextcloud/tasks/main.yml +++ b/roles/server/nextcloud/tasks/main.yml @@ -134,7 +134,6 @@ - oauth2 - password_policy - polls - - previewgenerator - provisioning_api - quota_warning - serverinfo @@ -159,25 +158,12 @@ - updatenotification - workflowengine -- name: Set background job mode to cron - become_user: "{{ system_user }}" - command: /usr/bin/php occ background:cron - args: - chdir: "{{ nextcloud_installation_directory }}" - - name: Add background cron job cron: name: "nextcloud cron for {{ domain }}" minute: "*/5" job: "sudo -u {{ system_user }} php -f \"{{ nextcloud_installation_directory }}/cron.php\"" -- name: Add background cron job for preview generation - cron: - name: "nextcloud preview cron for {{ domain }}" - hour: 3 - minute: 0 - job: "sudo -u {{ system_user | quote }} php -f {{ nextcloud_installation_directory | quote }}/occ preview:pre-generate" - - name: Configure auto backup of nextcloud data directory cron: hour: 1