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.
 
 
 

81 rivejä
3.4 KiB

  1. # SPDX-FileCopyrightText: 2026 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. # The variables a role reads from its surroundings rather than from its own defaults.
  6. # In a real run `matrix-base` and `group_vars/matrix_servers` provide them.
  7. #
  8. # Include from a scenario's prepare.yml, converge.yml and verify.yml:
  9. #
  10. # vars_files:
  11. # - "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') }}/../../../molecule-shared/playbook-context.yml"
  12. #
  13. # Gotcha: `vars_files` outranks inventory `group_vars`, so a scenario cannot override these there.
  14. #
  15. # Keep this to variables that come from OUTSIDE the role under test.
  16. # Anything the role defines itself belongs in the scenario.
  17. # --- Identity and paths (matrix-base) --------------------------------------
  18. matrix_base_data_path: /matrix
  19. matrix_domain: molecule.local
  20. matrix_user_name: matrix
  21. matrix_group_name: matrix
  22. # Deliberately not 1000: the base images already have a user there, so a distinct id
  23. # is what proves a role used the one it was given rather than coinciding with the image's own.
  24. matrix_user_uid: 1234
  25. matrix_user_gid: 1234
  26. # Empty in the playbook's own defaults too. Components that would invite an administrator
  27. # into a room skip doing so when it is empty.
  28. matrix_admin: ''
  29. # --- Host commands (matrix-base) -------------------------------------------
  30. # Some roles shell out through this indirection instead of naming the binary directly
  31. # (matrix-bridge-hookshot and matrix-bridge-appservice-irc both generate a key with it).
  32. # They install it themselves by including matrix-base's `ensure_openssl_installed` tasks.
  33. matrix_host_command_openssl: "/usr/bin/env openssl"
  34. # --- Bridge-wide switches (matrix-base) ------------------------------------
  35. # Every bridge role reads these, so they live here rather than in each bridge's scenario.
  36. # The values match the playbook's own defaults. A scenario proving one of these reaches
  37. # the rendered configuration should override it in its own group_vars.
  38. matrix_bridges_encryption_enabled: false
  39. matrix_bridges_encryption_default: false
  40. matrix_bridges_msc4190_enabled: false
  41. matrix_bridges_self_sign_enabled: false
  42. matrix_bridges_relay_enabled: false
  43. matrix_bridges_exposure_enabled: true
  44. matrix_bridges_exposure_hostname: molecule.local
  45. matrix_bridges_exposure_path_prefix: /bridges
  46. # --- Public hostnames (matrix-base) ----------------------------------------
  47. # 18 of the roles here read one of these. Rendered against the scenario's matrix_domain
  48. # rather than left as Jinja, so verify.yml can read them without the role's defaults in scope.
  49. matrix_server_fqn_matrix: matrix.molecule.local
  50. matrix_server_fqn_matrix_federation: matrix.molecule.local
  51. matrix_server_fqn_element: element.molecule.local
  52. matrix_server_fqn_hydrogen: hydrogen.molecule.local
  53. matrix_server_fqn_cinny: cinny.molecule.local
  54. matrix_server_fqn_sable: sable.molecule.local
  55. matrix_server_fqn_schildichat: schildichat.molecule.local
  56. matrix_server_fqn_fluffychat: fluffychat.molecule.local
  57. matrix_server_fqn_buscarron: buscarron.molecule.local
  58. matrix_server_fqn_etherpad: etherpad.molecule.local
  59. matrix_server_fqn_jitsi: jitsi.molecule.local
  60. matrix_server_fqn_grafana: stats.molecule.local
  61. matrix_server_fqn_sygnal: sygnal.molecule.local
  62. matrix_server_fqn_mautrix_wsproxy: wsproxy.molecule.local
  63. matrix_server_fqn_ntfy: ntfy.molecule.local
  64. matrix_server_fqn_rageshake: rageshake.molecule.local
  65. matrix_server_fqn_matrixto: mt.molecule.local