fix(nextcloud): set redis connection before memcache options
This commit is contained in:
parent
8b64a9bbc1
commit
c6b26ecd70
1 changed files with 9 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue