main.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ---
  2. # [NEXTCLOUD CONFIG]
  3. nc_global_name: "nc.test"
  4. nextcloud_ipv6: false
  5. # defaults file for nextcloud
  6. NEXTCLOUD_VERSION: "25.0.2"
  7. NEXTCLOUD_TARBALL: "nextcloud-{{ NEXTCLOUD_VERSION }}.tar.bz2"
  8. NEXTCLOUD_URL: "https://download.nextcloud.com/server/releases/{{ NEXTCLOUD_TARBALL }}"
  9. NEXTCLOUD_GPG: "https://nextcloud.com/nextcloud.asc"
  10. GPG_FINGERPRINT: "28806A878AE423A28372792ED75899B9A724937A"
  11. # [REDIS CONFIG]
  12. redis_host: "127.0.0.1" # overload from the role
  13. redis_port: "6379"
  14. # [WEB CONFIG]
  15. ssl_path: "/etc/{{ ansible_fqdn }}/ssl"
  16. nc_data_dir: "/srv/data"
  17. nc_admin_name: "pedro"
  18. nc_admin_pwd: "pedro"
  19. #
  20. nfs_server: "127.0.0.1"
  21. nfs_data_path: "/nextcloud/data"
  22. nfs_web_path: "/nextcloud/web"
  23. nc_loglevel: 2
  24. nc_log_rotate_size: 10485760
  25. nc_background_cron: true
  26. nc_cron_period: 10 # every <nc_cron_period> min
  27. ## Custom nextcloud settings
  28. ## https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html
  29. nextcloud_config_settings:
  30. - { name: 'default_phone_region', value: 'BE' } # set a country code using ISO 3166-1
  31. - { name: 'open_basedir', value: '/dev/urandom' }
  32. - { name: 'mysql.utf8mb4', value: 'true' }
  33. - { name: 'updater.release.channel', value: 'production' } # production | stable | daily | beta
  34. - { name: 'mail_smtpmode', value: 'smtp' }
  35. - { name: 'mail_domain', value: 'uclouvain.be' }
  36. - { name: 'mail_smtphost', value: 'smtp.sgsi.ucl.ac.be' }
  37. - { name: 'mail_smtpauthtype', value: 'LOGIN' }
  38. #- { name: 'overwrite.cli.url', value: 'https://{{ nc_global_name }}' }
  39. #- { name: 'overwritehost', value: '{{ nc_global_name }}' }
  40. - { name: 'overwriteprotocol', value: 'https' }
  41. #php /var/www/html/occ config:system:set share_folder --value="/Shared"
  42. # [DATABASE]
  43. db_host: "127.0.0.1" # overload from the role
  44. db_port: "3306"
  45. nc_db_name: "nextcloudb"
  46. nc_db_user: "nextcloudb" # overload from the role
  47. nc_db_password: "secret" # overload from the role
  48. # [APPS]
  49. nextcloud_apps:
  50. - twofactor_totp
  51. - deck
  52. - tasks
  53. - calendar
  54. - contacts
  55. - apporder
  56. nc_collabora: false