aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/defaults
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-06-30 09:49:33 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-06-30 17:00:40 +0200
commit5fb273af8ea757e5627c4b09582705e42aa1d8e6 (patch)
tree16ee4c2d88fd272ba6a5efcf2ec3e64fd41020b5 /roles/nextcloud/defaults
parent0f62ee8478cd1e32adca86ce6dd8b95ea2aaa5f8 (diff)
downloadrules-5fb273af8ea757e5627c4b09582705e42aa1d8e6.tar.gz
refactor(roles/nextcloud): bump nextcloud version and config
Diffstat (limited to 'roles/nextcloud/defaults')
-rw-r--r--roles/nextcloud/defaults/main.yml24
1 files changed, 15 insertions, 9 deletions
diff --git a/roles/nextcloud/defaults/main.yml b/roles/nextcloud/defaults/main.yml
index 2dc20c7..a90917a 100644
--- a/roles/nextcloud/defaults/main.yml
+++ b/roles/nextcloud/defaults/main.yml
@@ -1,9 +1,9 @@
---
-nextcloud__package_name: nextcloud-27.1.5
+nextcloud__package_name: nextcloud-28.0.3
nextcloud__package_dependencies:
- - php-pgsql-8.1.27
- - php-pdo_pgsql-8.1.27
+ - php-pgsql-8.2.20
+ - php-pdo_pgsql-8.2.20
nextcloud__db_name: nextcloud
nextcloud__db_user: nextcloud
@@ -25,13 +25,16 @@ nextcloud__owned_directories:
- data
- updater
-nextcloud__php_service_name: php81_fpm
-nextcloud__php_configuration_file: /etc/php-8.1.ini
+nextcloud__php_bin: php-8.2
+nextcloud__php_service_name: php82_fpm
+nextcloud__php_configuration_file: /etc/php-8.2.ini
nextcloud__php_fpm_configuration_file: /etc/php-fpm.ini
nextcloud__occ_system_settings:
- option: trusted_domains
value: "1 --value={{ nextcloud__domain_name }}"
+ - option: trusted_domains
+ value: "2 --value={{ ansible_host }}"
- option: skeletondirectory
value: ""
@@ -39,8 +42,8 @@ nextcloud__disabled_apps:
- firstrunwizard
- sharebymail
-nextcloud__enabled_apps:
- - encryption
+nextcloud__enabled_apps: []
+# - encryption
nextcloud__php_fpm_settings:
# PHP
@@ -61,7 +64,10 @@ nextcloud__php_settings:
value: 1
- section: PHP
option: memory_limit
- value: 513M
+ value: 8192M
+ - section: PHP
+ option: zend_extension
+ value: opcache.so
# opcache
- section: opcache
option: opcache.enable
@@ -71,7 +77,7 @@ nextcloud__php_settings:
value: 1
- section: opcache
option: opcache.memory_consumption
- value: 512
+ value: 4096
- section: opcache
option: opcache.interned_strings_buffer
value: 8
remember that computers suck.