Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
4.6 KiB

  1. ---
  2. # version to install
  3. seafile_install_version: '5.0.0'
  4. seafile_install_version_beta: False
  5. # distribution download info
  6. seafile_tarball_url_base: https://bintray.com/artifact/download/seafile-org/seafile/
  7. seafile_tarball_name: seafile-server_{{ seafile_install_version }}_{{ ansible_architecture|replace("_","-")}}.tar.gz
  8. seafile_tarball_url: '{{ seafile_tarball_url_base + seafile_tarball_name }}'
  9. # names, files and directory locations
  10. seafile_user: seafile
  11. seafile_user_home: /home/seafile
  12. # defining seafile_user_uid will explicitly set the given value
  13. # leaving it undefined will fallback on adduser picking the value
  14. #seafile_user_uid: 999
  15. seafile_org_name: Seafile
  16. seafile_org_dir: '{{ seafile_user_home +"/"+ seafile_org_name|lower }}'
  17. seafile_distrib_dir: '{{ seafile_org_dir + "/seafile-server-" + seafile_install_version }}'
  18. seafile_ccnet_dir: '{{ seafile_org_dir + "/ccnet" }}'
  19. seafile_conf_dir: '{{ seafile_org_dir + "/conf" }}'
  20. seafile_latest_dir: '{{ seafile_org_dir + "/seafile-server-latest" }}'
  21. seafile_latest2_dir: '{{ seafile_org_dir + "/latest" }}'
  22. seafile_data_dir: '{{ seafile_org_dir + "/seafile-data" }}'
  23. seafile_seahubdata_dir: '{{ seafile_org_dir + "/seahub-data" }}'
  24. seafile_mylib_dir: '{{ seafile_org_dir + "/lib" }}'
  25. seafile_server_name: '{{ seafile_org_name }}'
  26. seafile_ip_or_domain: seacloud.cc
  27. seafile_service_url: http://{{ seafile_ip_or_domain }}:{{ seafile_fastcgi_port }}
  28. # the path to a local directory relative to your playbook, that holds
  29. # customisation files to be copied to
  30. # seafile-server-latest/seahub/media/custom/
  31. #seafile_custom_files_path: custom # see tasks/configure.yml
  32. # when using an ssl terminating reverse proxy, you'' want to set this to:
  33. #seafile_service_url: https://{{ seafile_ip_or_domain }}
  34. seafile_quota_enable: false
  35. seafile_quota_default: 2
  36. seafile_history_keepall: true # set to false to enable keep_days limit
  37. seafile_history_keep_days: 30
  38. seafile_max_upload_size_enable: false # set to true to enable max
  39. seafile_max_upload_size: 200 # MB
  40. seafile_max_download_dir_size_enable: false # set to true to enable max
  41. seafile_max_download_dir_size: 200 # MB
  42. seafile_email_enable: false
  43. seafile_email_use_tls: false
  44. seafile_email_host: localhost
  45. seafile_email_user: '{{ seafile_seahub_admin_email }}'
  46. seafile_email_password: ''
  47. seafile_email_port: 25
  48. seafile_default_from_email: '{{ seafile_email_user }}'
  49. seafile_server_email: '{{ seafile_email_user }}'
  50. seafile_time_zone: 'UTC'
  51. seafile_site_base: 'http://{{ seafile_ip_or_domain }}/'
  52. seafile_site_name: '{{ seafile_org_name }}' # used in email notifications
  53. seafile_site_title: '{{ seafile_org_name }}'
  54. seafile_site_root: '/'
  55. seafile_use_pdfjs: true
  56. seafile_enable_signup: false
  57. seafile_activate_after_registration: false
  58. seafile_send_email_on_adding_system_member: true
  59. seafile_send_email_on_resetting_user_passwd: true
  60. seafile_cloud_mode: true
  61. seafile_file_preview_max_size: 30 * 1024 * 1024
  62. seafile_session_cookie_age: 60 * 60 * 24 * 7 * 2
  63. seafile_session_save_every_request: false
  64. seafile_session_expire_at_browser_close: false
  65. seafile_force_server_crypto: true
  66. seafile_logo_path: # default none
  67. seafile_css_path: # default none
  68. seafile_allowed_hosts: # default none
  69. # network ports
  70. seafile_ccnet_port: 10001
  71. seafile_seafile_port: 12001
  72. seafile_httpserver_port: 8082
  73. seafile_webdav_port: 8080
  74. # fastcgi
  75. seafile_fastcgi_enabled: false
  76. seafile_fastcgi_port: 8000
  77. # webdav settings
  78. seafile_webdav_enabled: false
  79. seafile_webdav_fastcgi: false
  80. seafile_webdav_path: '/'
  81. # seahub settings
  82. seafile_seahub_admin_email: admin@{{ seafile_ip_or_domain }}
  83. # No default, this needs to be set explicitly.
  84. #seafile_seahub_admin_password:
  85. # database settings
  86. seafile_backend: 'sqlite'
  87. # the next settings are not used for sqlite
  88. seafile_db_host: '127.0.0.1'
  89. seafile_db_port: '3306'
  90. seafile_db_user: 'seafile'
  91. seafile_db_pass: 's3cr3t'
  92. seafile_db_name:
  93. ccnet: 'ccnet'
  94. seafile: 'seafile'
  95. seahub: 'seahub'
  96. ## cron jobs
  97. # a weekly job to perform garbage collection
  98. seafile_cron_gc_enabled: false
  99. ## ldap
  100. #seafile_ldap:
  101. # host: 'ldap://127.0.0.1'
  102. # base: 'ou=people,dc=example,dc=com'
  103. # user_dn: 'cn=seafile,ou=services,dc=example,dc=com'
  104. # password: 'cleartext-password'
  105. # login_attr: mail