server/nextcloud: Reordered background job and update task

wip
Felix Stupp 5 years ago
parent c2b060df9e
commit f61da86598
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -169,6 +169,12 @@
args:
chdir: "{{ nextcloud_installation_directory }}"
- name: Add background cron job
cron:
name: "nextcloud"
minute: "*/5"
job: "php -f \"{{ nextcloud_installation_directory }}/cron.php\""
#- name: Upgrade Nextcloud
# become_user: "{{ nextcloud_system_user }}"
# command: /usr/bin/php occ upgrade
@ -176,9 +182,3 @@
# chdir: "{{ nextcloud_installation_directory }}"
# register: nextcloud_upgrade_result
# changed_when: "'already latest version' not in nextcloud_upgrade_result.rc"
- name: Add background cron job
cron:
name: "nextcloud"
minute: "*/5"
job: "php -f \"{{ nextcloud_installation_directory }}/cron.php\""

Loading…
Cancel
Save