Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

60 satır
3.1 KiB

  1. ---
  2. # A moderation tool for Matrix
  3. # See: https://github.com/matrix-org/mjolnir
  4. matrix_bot_mjolnir_enabled: true
  5. matrix_bot_mjolnir_version: "v1.3.1"
  6. matrix_bot_mjolnir_container_image_self_build: false
  7. matrix_bot_mjolnir_container_image_self_build_repo: "https://github.com/matrix-org/mjolnir.git"
  8. matrix_bot_mjolnir_docker_image: "{{ matrix_bot_mjolnir_docker_image_name_prefix }}matrixdotorg/mjolnir:{{ matrix_bot_mjolnir_version }}"
  9. matrix_bot_mjolnir_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_mjolnir_container_image_self_build else matrix_container_global_registry_prefix }}"
  10. matrix_bot_mjolnir_docker_image_force_pull: "{{ matrix_bot_mjolnir_docker_image.endswith(':latest') }}"
  11. matrix_bot_mjolnir_base_path: "{{ matrix_base_data_path }}/mjolnir"
  12. matrix_bot_mjolnir_config_path: "{{ matrix_bot_mjolnir_base_path }}/config"
  13. matrix_bot_mjolnir_data_path: "{{ matrix_bot_mjolnir_base_path }}/data"
  14. matrix_bot_mjolnir_docker_src_files_path: "{{ matrix_bot_mjolnir_base_path }}/docker-src"
  15. # A list of extra arguments to pass to the container
  16. matrix_bot_mjolnir_container_extra_arguments: []
  17. # List of systemd services that matrix-bot-mjolnir.service depends on
  18. matrix_bot_mjolnir_systemd_required_services_list: ['docker.service']
  19. # List of systemd services that matrix-bot-mjolnir.service wants
  20. matrix_bot_mjolnir_systemd_wanted_services_list: []
  21. # The access token for the bot user
  22. matrix_bot_mjolnir_access_token: ""
  23. # The room ID where people can use the bot. The bot has no access controls, so
  24. # anyone in this room can use the bot - secure your room!
  25. # This should be a room alias or room ID - not a matrix.to URL.
  26. # Note: Mjolnir is fairly verbose - expect a lot of messages from it.
  27. matrix_bot_mjolnir_management_room: ""
  28. # Default configuration template which covers the generic use case.
  29. # You can customize it by controlling the various variables inside it.
  30. #
  31. # For a more advanced customization, you can extend the default (see `matrix_bot_mjolnir_configuration_extension_yaml`)
  32. # or completely replace this variable with your own template.
  33. matrix_bot_mjolnir_configuration_yaml: "{{ lookup('template', 'templates/production.yaml.j2') }}"
  34. matrix_bot_mjolnir_configuration_extension_yaml: |
  35. # Your custom YAML configuration goes here.
  36. # This configuration extends the default starting configuration (`matrix_bot_mjolnir_configuration_yaml`).
  37. #
  38. # You can override individual variables from the default configuration, or introduce new ones.
  39. #
  40. # If you need something more special, you can take full control by
  41. # completely redefining `matrix_bot_mjolnir_configuration_yaml`.
  42. matrix_bot_mjolnir_configuration_extension: "{{ matrix_bot_mjolnir_configuration_extension_yaml|from_yaml if matrix_bot_mjolnir_configuration_extension_yaml|from_yaml is mapping else {} }}"
  43. # Holds the final configuration (a combination of the default and its extension).
  44. # You most likely don't need to touch this variable. Instead, see `matrix_bot_mjolnir_configuration_yaml`.
  45. matrix_bot_mjolnir_configuration: "{{ matrix_bot_mjolnir_configuration_yaml|from_yaml|combine(matrix_bot_mjolnir_configuration_extension, recursive=True) }}"