fix(nextcloud): set redis connection before memcache options

This commit is contained in:
s3lph 2023-02-07 23:01:34 +01:00
parent 8b64a9bbc1
commit c6b26ecd70
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -81,13 +81,20 @@
s3lph.nextcloud.config:
webroot: /var/lib/nextcloud/webroot
system:
trusted_domains: "{{ nextcloud_trusted_domains }}"
cli_baseurl: "{{ nextcloud_cli_baseurl }}"
redis:
host: "{{ nextcloud_redis_host }}"
port: "{{ nextcloud_redis_port }}"
dbindex: "{{ nextcloud_redis_dbindex }}"
timeout: "{{ nextcloud_redis_timeout }}"
- name: Set common Nextcloud options
become: true
become_user: www-data
s3lph.nextcloud.config:
webroot: /var/lib/nextcloud/webroot
system:
trusted_domains: "{{ nextcloud_trusted_domains }}"
cli_baseurl: "{{ nextcloud_cli_baseurl }}"
memcache.local: '\OC\Memcache\Redis'
memcache.distributed: '\OC\Memcache\Redis'
memcache.locking: '\OC\Memcache\Redis'