updated nextcloud state

This commit is contained in:
Paul 2021-11-17 22:57:15 +01:00
parent b24f1f849b
commit ecd250304e
4 changed files with 7 additions and 5 deletions

View File

@ -8,6 +8,8 @@ nextcloud-config:
- user: {{ nextcloud.user }}
- group: {{ nextcloud.group }}
- template: jinja
- context:
nextcloud: {{ nextcloud }}
nextcloud-upgrade:
cmd.run:

View File

@ -51,7 +51,8 @@ nextcloud:
logtimezone: 'Europe/Paris'
log_query: false
maintenance: false
memcache.local: '\\OC\\Memcache\\Redis'
memcache.local: '\OC\Memcache\Redis'
memcache.locking: '\OC\Memcache\Redis'
redis:
- host: localhost
port: 6379
@ -68,10 +69,9 @@ nextcloud:
- '198.51.100.128'
- '192.168.2.0/24'
forwarded_for_headers:
- HTTP_X_FORWARDED
- HTTP_FORWARDED_FOR
- 'HTTP_X_FORWARDED'
- 'HTTP_FORWARDED_FOR'
max_filesize_animated_gifs_public_sharing: 10
filelocking.enabled: true
memcache.locking: '\\OC\\Memcache\\Redis'
filelocking.debug: false
upgrade.disable-web: false

View File

@ -4,3 +4,4 @@ include:
- redis
- .install
- .config
- php.service

View File

@ -1,5 +1,4 @@
<?php
{%- from "nextcloud/map.jinja" import nextcloud with context %}
{%- macro mac(value,last) -%}
{%- if value is mapping %}
{%- for k, v in value.items() %}