aboutsummaryrefslogblamecommitdiffstats
path: root/roles/nextcloud/defaults/main.yml
blob: a90917a4b2ac3771919098a00fc62c640c6e0522 (plain) (tree)
1
2
3
4
5
6
7

   
                                         
                                

                        
 


















                                                                                  
 


                                                   




                                                       

                                         






                             

                           



















                               



                          








                                      
               

































                                           
---

nextcloud__package_name: nextcloud-28.0.3
nextcloud__package_dependencies:
  - php-pgsql-8.2.20
  - php-pdo_pgsql-8.2.20

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_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: ""

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: 8192M
  - section: PHP
    option: zend_extension
    value: opcache.so
  # opcache
  - section: opcache
    option: opcache.enable
    value: 1
  - section: opcache
    option: opcache_enable_cli
    value: 1
  - section: opcache
    option: opcache.memory_consumption
    value: 4096
  - 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
remember that computers suck.