aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/defaults
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-07-01 13:41:46 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-07-01 13:41:46 +0200
commit21d259bbf44138ea37d66719e26c290de59cbbef (patch)
treeaf46d5bd2779b04974e3276adb48f3c7fb6e72ab /roles/nextcloud/defaults
parentcd9298a427aa7f17734d0ffd732d5e1ec2815231 (diff)
downloadrules-21d259bbf44138ea37d66719e26c290de59cbbef.tar.gz
refactor(roles/nextcloud): move dependencies in subtask
Diffstat (limited to 'roles/nextcloud/defaults')
-rw-r--r--roles/nextcloud/defaults/main.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/nextcloud/defaults/main.yml b/roles/nextcloud/defaults/main.yml
index 4c10ab5..c920a55 100644
--- a/roles/nextcloud/defaults/main.yml
+++ b/roles/nextcloud/defaults/main.yml
@@ -32,6 +32,8 @@ 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__perl_libdata_dir: /usr/libdata/perl5
+
nextcloud__occ_system_settings:
- option: trusted_domains
value: "1 --value={{ nextcloud__domain_name }}"
@@ -53,6 +55,8 @@ nextcloud__php_fpm_settings:
option: clear_env
value: 0
+nextcloud__php_memory_limit: 1024M
+
nextcloud__php_settings:
# PHP
- section: PHP
@@ -66,7 +70,7 @@ nextcloud__php_settings:
value: 1
- section: PHP
option: memory_limit
- value: 8192M
+ value: "{{ nextcloud__php_memory_limit }}"
- section: PHP
option: zend_extension
value: opcache.so
remember that computers suck.