blob: 361871c9d233087c49541c50050b9c849425750d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
---
php_ver: 8.2
nextcloud_php_present:
- php{{ php_ver }}-bcmath
- php{{ php_ver }}-imagick
- php{{ php_ver }}-zip
- php{{ php_ver }}-gd
nextcloud_nfs_present:
- nfs-common
nextcloud_redis_host:
- 192.168.122.1
nextcloud_redis_port:
- 6379
nextcloud_data_nfs_share: "192.168.122.1:/srv/nextcloud/data"
nextcloud_db_host: "192.168.122.1"
nextcloud_db_name: "nextcloud"
nextcloud_db_admin: "nextcloud_user"
nextcloud_db_pwd: "c543f02c0715eff22cc9ae0faf6f01d7b39cb2c0be08d62f4f945b20ef8ba666"
# defaults file for nextcloud
# [DOWNLOAD]
# An URL will be generated following naming rules used by nextcloud's repository
# Not following this rules correctly will make the role unable to download nextcloud.
nextcloud_version_channel: "releases" # mandatory # (releases/prereleases/daily)
# channel releases requires version_full.
# channel prereleases requires version_full. Optional: version_special.
# channel daily requires requires version_full & version_special.
nextcloud_get_latest: true # mandatory # specify if the latest archive should be downloaded.
nextcloud_dl_file_name: "latest"
# Override generated file name for channels: releases/daily.
# optional : version_major.
# nextcloud_version_major: 25 # (24/25/26) for releases or for daily (master/stable25/stable26...)
# nextcloud_version_full: "25.0.3" # full version string
# nextcloud_version_special: "" # For prereleases: "RCn/beta" or for daily "YYYY-MM-DD"
nextcloud_repository: "https://download.nextcloud.com/server" # Domain URL where to download Nextcloud.
nextcloud_archive_format: "zip" # zip/tar.bz2
# nextcloud_full_src: "https://download.nextcloud.com/server/releases/nextcloud-25.0.0.zip" # specify directly a full URL to the archive or a path on the control host
# [NEXTCLOUD CONFIG]
nextcloud_trusted_domain:
- "cloud.maxmail.xyz"
- "cloud.iamfabulous.de"
nextcloud_ipv6: false
nextcloud_trusted_proxies: [ "192.168.122.1" ]
nextcloud_instance_name: "{{ nextcloud_trusted_domain | first }}"
nextcloud_webroot: "/var/www/nextcloud"
nextcloud_data_dir: "/var/www/ncdata"
nextcloud_admin_name: "admin"
# nextcloud_admin_pwd: "secret"
nextcloud_websrv_user: www-data
nextcloud_websrv_group: www-data
nextcloud_redis_settings:
- { name: 'redis host', value: "{{ nextcloud_redis_host }}" }
- { name: 'redis port', value: "{{ nextcloud_redis_port }}" }
- { name: 'memcache.locking', value: '\OC\Memcache\Redis' }
nextcloud_background_cron: true
## Custom nextcloud settings
## https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html
nextcloud_config_settings:
- { name: 'default_phone_region', value: 'DE' } # set a country code using ISO 3166-1
- { name: 'overwrite.cli.url', value: 'https://{{ nextcloud_trusted_domain | first }}' }
- { name: 'memcache.local', value: '\OC\Memcache\APCu' }
- { name: 'mysql.utf8mb4', value: true }
- { name: 'updater.release.channel', value: 'production' } # production/stable/daily/beta
# [APPS]
nextcloud_apps: {}
nextcloud_disable_apps: []
nextcloud_patch_user_saml_app: false # Apply Workaround to lower-case REALM for REMOTE_USER environment-variable.
# [SYSTEM]
# nextcloud_mysql_root_pwd: "secret"
upgrade_packages_first: false
|