main.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. ---
  2. # [INSTALL_CONFIG]
  3. NEXTCLOUD_VERSION: "25.0.6"
  4. NEXTCLOUD_TARBALL: "nextcloud-{{ NEXTCLOUD_VERSION }}.tar.bz2"
  5. NEXTCLOUD_URL: "https://download.nextcloud.com/server/releases/{{ NEXTCLOUD_TARBALL }}"
  6. NEXTCLOUD_GPG: "https://nextcloud.com/nextcloud.asc"
  7. GPG_FINGERPRINT: "28806A878AE423A28372792ED75899B9A724937A"
  8. # [DATABASE_CONFIG]
  9. db_host: "127.0.0.1" # overload from the role
  10. db_port: "3306"
  11. nc_db_name: "nextcloudb"
  12. nc_db_user: "nextcloudb" # overload from the role
  13. nc_db_password: "secret" # overload from the role
  14. # [REDIS CONFIG]
  15. redis_daemon: "none"
  16. redis_host: "127.0.0.1"
  17. redis_port: "6379"
  18. # [WEB CONFIG]
  19. ssl_path: "/etc/{{ ansible_fqdn }}/ssl"
  20. nc_data_dir: "/srv/data"
  21. nc_admin_name: "pedro"
  22. nc_admin_pwd: "pedro"
  23. # [NEXTCLOUD CONFIG]
  24. nc_global_name: "nc.test"
  25. nextcloud_ipv6: false
  26. # If our internet requires proxy to work
  27. nc_proxy: false
  28. nc_proxy_url: "proxy.sipr.ucl.ac.be:889"
  29. ## Custom nextcloud settings
  30. ## https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html
  31. nextcloud_config_settings:
  32. - { name: 'default_phone_region', value: 'BE' } # set a country code using ISO 3166-1
  33. - { name: 'open_basedir', value: '/dev/urandom' }
  34. - { name: 'mysql.utf8mb4', value: 'true' }
  35. - { name: 'updater.release.channel', value: 'production' } # production | stable | daily | beta
  36. - { name: 'mail_smtpmode', value: 'smtp' }
  37. - { name: 'mail_domain', value: 'uclouvain.be' }
  38. - { name: 'mail_smtphost', value: 'smtp.sgsi.ucl.ac.be' }
  39. - { name: 'mail_smtpauthtype', value: 'LOGIN' }
  40. - { name: 'overwriteprotocol', value: 'https' }
  41. # [LOG]
  42. nc_loglevel: 2
  43. nc_log_rotate_size: 10485760
  44. nc_background_cron: true
  45. nc_cron_period: 10 # every <nc_cron_period> min
  46. # [BACKUP]
  47. nfs_server: "127.0.0.1"
  48. nfs_path: "/backup/nextcloud"
  49. # [APPS]
  50. nc_collabora: false
  51. nextcloud_apps:
  52. - twofactor_totp
  53. - deck
  54. - tasks
  55. - calendar
  56. - contacts
  57. #- apporder
  58. # [OBJECTSTORE]
  59. objectstore_s3_install: false
  60. objectstore_s3_bucket_name: "nextcloud"
  61. objectstore_s3_key: "9TEYR63U7US6LID709C4"
  62. objectstore_s3_secret: "72mwowlA1pW81n6hw8SyJD8vxNDSZfwHaOnQ4hhR"
  63. objectstore_s3_hostname: "192.168.64.51"
  64. objectstore_s3_port: "7480"
  65. objectstore_s3_use_ssl: false
  66. objectstore_s3_region: "be"
  67. objectstore_s3_use_path_style: true