--- 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