|
|
@ -134,7 +134,6 @@
|
|
|
|
- oauth2
|
|
|
|
- oauth2
|
|
|
|
- password_policy
|
|
|
|
- password_policy
|
|
|
|
- polls
|
|
|
|
- polls
|
|
|
|
- previewgenerator
|
|
|
|
|
|
|
|
- provisioning_api
|
|
|
|
- provisioning_api
|
|
|
|
- quota_warning
|
|
|
|
- quota_warning
|
|
|
|
- serverinfo
|
|
|
|
- serverinfo
|
|
|
@ -159,25 +158,12 @@
|
|
|
|
- updatenotification
|
|
|
|
- updatenotification
|
|
|
|
- workflowengine
|
|
|
|
- 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
|
|
|
|
- name: Add background cron job
|
|
|
|
cron:
|
|
|
|
cron:
|
|
|
|
name: "nextcloud cron for {{ domain }}"
|
|
|
|
name: "nextcloud cron for {{ domain }}"
|
|
|
|
minute: "*/5"
|
|
|
|
minute: "*/5"
|
|
|
|
job: "sudo -u {{ system_user }} php -f \"{{ nextcloud_installation_directory }}/cron.php\""
|
|
|
|
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
|
|
|
|
- name: Configure auto backup of nextcloud data directory
|
|
|
|
cron:
|
|
|
|
cron:
|
|
|
|
hour: 1
|
|
|
|
hour: 1
|
|
|
|