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.
 
 

53 satır
2.7 KiB

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