diff options
Diffstat (limited to 'roles/nextcloud/defaults')
-rw-r--r-- | roles/nextcloud/defaults/main.yml | 101 |
1 files changed, 99 insertions, 2 deletions
diff --git a/roles/nextcloud/defaults/main.yml b/roles/nextcloud/defaults/main.yml index f1835cf..2dc20c7 100644 --- a/roles/nextcloud/defaults/main.yml +++ b/roles/nextcloud/defaults/main.yml @@ -5,7 +5,104 @@ nextcloud__package_dependencies: - php-pgsql-8.1.27 - php-pdo_pgsql-8.1.27 -nextcloud__user: nextcloud -nextcloud__group: nextcloud +nextcloud__db_name: nextcloud +nextcloud__db_user: nextcloud +nextcloud__db_host: 127.0.0.1 +nextcloud__db_password: "{{ lookup('ansible.builtin.password', '/dev/null') }}" + +nextcloud__admin_name: admin +nextcloud__admin_password: "{{ lookup( + 'ansible.builtin.password', '/dev/null' + ) }}" + +nextcloud__chroot_dir: "{{ httpd_pre__chroot_dir }}/nextcloud" +nextcloud__chroot_data_dir: /nextcloud/data + +nextcloud__data_dir: "{{ httpd_pre__chroot_dir }}{{ nextcloud__chroot_data_dir }}" + +nextcloud__owned_directories: + - apps + - data + - updater nextcloud__php_service_name: php81_fpm +nextcloud__php_configuration_file: /etc/php-8.1.ini +nextcloud__php_fpm_configuration_file: /etc/php-fpm.ini + +nextcloud__occ_system_settings: + - option: trusted_domains + value: "1 --value={{ nextcloud__domain_name }}" + - option: skeletondirectory + value: "" + +nextcloud__disabled_apps: + - firstrunwizard + - sharebymail + +nextcloud__enabled_apps: + - encryption + +nextcloud__php_fpm_settings: + # PHP + - section: www + option: clear_env + value: 0 + +nextcloud__php_settings: + # PHP + - section: PHP + option: post_max_size + value: 513M + - section: PHP + option: upload_max_filesize + value: 513M + - section: PHP + option: allow_url_fopen + value: 1 + - section: PHP + option: memory_limit + value: 513M + # opcache + - section: opcache + option: opcache.enable + value: 1 + - section: opcache + option: opcache_enable_cli + value: 1 + - section: opcache + option: opcache.memory_consumption + value: 512 + - section: opcache + option: opcache.interned_strings_buffer + value: 8 + - section: opcache + option: opcache.max_accelerated_files + value: 10000 + - section: opcache + option: opcache.revalidate_freq + value: 1 + - section: opcache + option: opcache.save_comments + value: 1 + # modules + - section: zip + option: extension + value: zip.so + - section: gd + option: extension + value: gd.so + - section: pgsql + option: extension + value: pgsql.so + - section: pdo_pgsql + option: extension + value: pdo_pgsql.so + - section: curl + option: extension + value: curl.so + - section: intl + option: extension + value: intl.so + - section: opcache + option: extension + value: opcache.so |