diff --git a/roles/nextcloud/tasks/config.yml b/roles/nextcloud/tasks/config.yml index 43776ab..c68e7de 100644 --- a/roles/nextcloud/tasks/config.yml +++ b/roles/nextcloud/tasks/config.yml @@ -42,6 +42,9 @@ command: chdir: ~/html cmd: php occ background:cron +- name: set up local memcache + when: installation.changed + command: php occ config:system:set memcache.local --value='\OC\Memcache\APCu' - name: set up redis when: installation.changed block: diff --git a/roles/nextcloud/tasks/php.yml b/roles/nextcloud/tasks/php.yml index 8af0420..1086ee4 100644 --- a/roles/nextcloud/tasks/php.yml +++ b/roles/nextcloud/tasks/php.yml @@ -27,3 +27,5 @@ mode: 0644 notify: - restart php +- name: flush handlers + meta: flush_handlers \ No newline at end of file