ansible-role-nextcloud/defaults/main.yml

73 lines
2.7 KiB
YAML

---
nextcloud_major_version: 22
nextcloud_version: '{{ nextcloud_major_version }}.0.4'
# Choose from releases, prereleases, daily
nextcloud_release_channel: 'releases'
nextcloud_get_latest_stable: True
nextcloud_user: nextcloud
nextcloud_timezone: 'Europe/Rome'
nextcloud_default_phone_region: 'IT'
nextcloud_redis_cache_enabled: True
nextcloud_local_redis: '{{ nextcloud_redis_cache_enabled }}'
nextcloud_redis_params:
- { name: 'memcache.locking', value: '\OC\Memcache\Redis' }
- { name: 'memcache.distributed', value: '\OC\Memcache\Redis' }
- { name: 'redis host', value: 'localhost' }
- { name: 'redis dbindex', value: '0'}
- { name: 'redis timeout', value: '1.5'}
nextcloud_apcu_cache_enabled: True
nextcloud_local_memcache: False
nextcloud_mail_enabled: True
nextcloud_mail_sendmail_mode: True
nextcloud_mail_smtp_settings:
- { name: 'mail_sendmailmode', value: 'smtp' }
- { name: 'mail_smtpsecure', value: 'tls' }
- { name: 'mail_smtpauth', value: 1 }
- { name: 'mail_from_address', value: 'nextcloud@localdomain' }
- { name: 'mail_domain', value: 'localdomain' }
- { name: 'mail_smtphost', value: 'localhost' }
- { name: 'mail_smtpport', value: '587' }
- { name: 'mail_smtpauthtype', value: 'LOGIN' }
- { name: 'mail_smtpname', value: '' }
- { name: 'mail_smtppassword', value: '' }
nextcloud_local_postgresql: True
nextcloud_web_basedir: /var/www
nextcloud_web_root: '{{ nextcloud_web_basedir }}/nextcloud'
nextcloud_data_base_dir: /srv
nextcloud_data_dir: '{{ nextcloud_data_base_dir }}/nextcloud/data'
nextcloud_oc_dir: '{{ nextcloud_data_base_dir }}/nextcloud/oc_keys'
nextcloud_log_timezone: '{{ nextcloud_timezone }}'
nextcloud_log_directory: /var/log/nextcloud
nextcloud_log_backend: file
# debug|info|warning|error|fatal
nextcloud_log_level: info
nextcloud_log_rotation_frequency: weekly
nextcloud_log_rotation: 52
nextcloud_audit_log_enabled: True
nextcloud_encryption_enabled: True
nextcloud_servername: '{{ ansible_fqdn }}'
nextcloud_nginx_aliases: '{{ nextcloud_servername }}'
nextcloud_servernames:
- { webroot: '{{ nextcloud_web_root }}', id: 1, name: '{{ nextcloud_servername }}' }
nextcloud_trusted_proxies: []
# - { proxy_ip: '127.0.0.1/8', proxy_id: 0 }
nextcloud_http_protocol: 'https'
nextcloud_cli_url: 'http://localhost'
nextcloud_db: pgsql
nextcloud_db_host: localhost
nextcloud_db_name: nextcloud
nextcloud_db_user: nextcloud_u
#nextcloud_db_pwd: 'Use a vault file'
nextcloud_admin_user: nc_admin
#nextcloud_admin_u_pwd: 'Use a vault file'
nextcloud_ldap_auth: False
nextcloud_phpfpm_default_memory_limit: "512M"
php_global_settings: '{{ nextcloud_php_global_settings }}'
phpfpm_pools: '{{ nextcloud_phpfpm_pools }}'
nextcloud_phpfpm_listen_on_socket: True
nextcloud_nginx_max_body_size: 512M