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

   
                                         
                                

                        

                     
 


















                                                                                  
 


                                                   

                                                       

                                               


                                                   

                                         






                             

                           






                            

                                  












                               
                                              


                          








                                      
               

                                           
             






























                                         





                     
---

nextcloud__package_name: nextcloud-29.0.8
nextcloud__package_dependencies:
  - php-pgsql-8.2.25
  - php-pdo_pgsql-8.2.25
  - ffmpeg
  - p5-Image-ExifTool

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__perl_libdata_dir: /usr/libdata/perl5

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_memory_limit: 1024M

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: "{{ nextcloud__php_memory_limit }}"
  - 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: 64
  - 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
  - section: redis
    option: extension
    value: redis.so
  - section: imagick
    option: extension
    value: imagick.so
remember that computers suck.