|
|
@ -169,6 +169,12 @@
|
|
|
|
args:
|
|
|
|
args:
|
|
|
|
chdir: "{{ nextcloud_installation_directory }}"
|
|
|
|
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
|
|
|
|
#- name: Upgrade Nextcloud
|
|
|
|
# become_user: "{{ nextcloud_system_user }}"
|
|
|
|
# become_user: "{{ nextcloud_system_user }}"
|
|
|
|
# command: /usr/bin/php occ upgrade
|
|
|
|
# command: /usr/bin/php occ upgrade
|
|
|
@ -176,9 +182,3 @@
|
|
|
|
# chdir: "{{ nextcloud_installation_directory }}"
|
|
|
|
# chdir: "{{ nextcloud_installation_directory }}"
|
|
|
|
# register: nextcloud_upgrade_result
|
|
|
|
# register: nextcloud_upgrade_result
|
|
|
|
# changed_when: "'already latest version' not in nextcloud_upgrade_result.rc"
|
|
|
|
# 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\""
|
|
|
|
|
|
|
|