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:
|
s3lph.nextcloud.config:
|
||||||
webroot: /var/lib/nextcloud/webroot
|
webroot: /var/lib/nextcloud/webroot
|
||||||
system:
|
system:
|
||||||
trusted_domains: "{{ nextcloud_trusted_domains }}"
|
|
||||||
cli_baseurl: "{{ nextcloud_cli_baseurl }}"
|
|
||||||
redis:
|
redis:
|
||||||
host: "{{ nextcloud_redis_host }}"
|
host: "{{ nextcloud_redis_host }}"
|
||||||
port: "{{ nextcloud_redis_port }}"
|
port: "{{ nextcloud_redis_port }}"
|
||||||
dbindex: "{{ nextcloud_redis_dbindex }}"
|
dbindex: "{{ nextcloud_redis_dbindex }}"
|
||||||
timeout: "{{ nextcloud_redis_timeout }}"
|
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.local: '\OC\Memcache\Redis'
|
||||||
memcache.distributed: '\OC\Memcache\Redis'
|
memcache.distributed: '\OC\Memcache\Redis'
|
||||||
memcache.locking: '\OC\Memcache\Redis'
|
memcache.locking: '\OC\Memcache\Redis'
|
||||||
|
|
Loading…
Reference in a new issue