Matrix Docker Ansible eploy
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.
 
 

73 rivejä
3.0 KiB

  1. ---
  2. # matrix-aux is a role that manages auxiliary files and directories on your Matrix server.
  3. #
  4. # Certain components (like matrix-synapse, etc.) may sometimes require additional templates (email templates, privacy policies, etc.).
  5. # This role allows such files to be managed by the playbook.
  6. #
  7. # Note that files and directories created via this role are not automatically made available for containers to use.
  8. # If you use this role to put files in a directory that's already mounted into a container,
  9. # you can access the files without additional work.
  10. # Otherwise, you'd need to mount the file/directory to the container that needs it.
  11. # Roles usually provide a `matrix_*_additional_volumes` or `matrix_*_container_extra_arguments` variable
  12. # that you can use to mount an additional volume.
  13. # The default permission mode when creating directories using `matrix_aux_directory_definitions`
  14. matrix_aux_directory_default_mode: '0750'
  15. # Holds a list of directories to create on the server.
  16. #
  17. # By default, directories are:
  18. # - created with permissions as specified in `matrix_aux_directory_default_mode`
  19. # - owned by the `matrix_user_username` user and `matrix_user_groupname` group (usually `matrix:matrix`)
  20. #
  21. # Example:
  22. #
  23. # matrix_aux_directory_definitions:
  24. # - dest: /matrix/aux
  25. #
  26. # - dest: /matrix/another
  27. # mode: '0700'
  28. # owner: 'some-user'
  29. # group: 'some-group'
  30. matrix_aux_directory_definitions: []
  31. # The default permission mode when creating directories using `matrix_aux_directory_definitions`
  32. matrix_aux_file_default_mode: '0640'
  33. # Holds a list of files to create on the server.
  34. #
  35. # By default, files are:
  36. # - created with permissions as specified in `matrix_aux_file_default_mode`
  37. # - owned by the `matrix_user_username` user and `matrix_user_groupname` group (usually `matrix:matrix`)
  38. #
  39. # You can define the file content inline (in your `vars.yml` file) or as an external file (see the example below).
  40. # Defining the content inline in `vars.yml` has the benefit of not splitting your configuration into multiple files,
  41. # but rather keeping everything inside `vars.yml` (which also gets backed up on the server in `/matrix/vars.yml`).
  42. #
  43. # Note: parent paths for files must exist.
  44. # If you've defined a file with a destination of `/matrix/some/path/file.txt`,
  45. # then you likely need to add `/matrix/some/path` to `matrix_aux_directory_definitions` as well.
  46. # You don't need to do this for directories that the playbook already creates for you.
  47. #
  48. # Example:
  49. #
  50. # matrix_aux_file_definitions:
  51. # - dest: "{{ matrix_synapse_config_dir_path }}/something.html"
  52. # content: |
  53. # <!doctype html>
  54. # <html><body>Something</body></html>
  55. #
  56. # - dest: /matrix/aux/some-other-file.txt
  57. # content: "Something"
  58. # mode: '0600'
  59. # owner: 'some-user'
  60. # group: 'some-group'
  61. #
  62. # - dest: /matrix/aux/yet-another-file.txt
  63. # content: "{{ lookup('template', '/path/to/file.txt.j2') }}"
  64. # mode: '0600'
  65. # owner: 'some-user'
  66. # group: 'some-group'
  67. matrix_aux_file_definitions: []