Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

99 行
5.5 KiB

  1. ---
  2. # A moderation tool for Matrix
  3. # Project source code URL: https://github.com/the-draupnir-project/Draupnir
  4. matrix_bot_draupnir_enabled: true
  5. # renovate: datasource=docker depName=gnuxie/draupnir
  6. matrix_bot_draupnir_version: "v1.86.2"
  7. matrix_bot_draupnir_container_image_self_build: false
  8. matrix_bot_draupnir_container_image_self_build_repo: "https://github.com/the-draupnir-project/Draupnir.git"
  9. matrix_bot_draupnir_docker_image: "{{ matrix_bot_draupnir_docker_image_name_prefix }}gnuxie/draupnir:{{ matrix_bot_draupnir_version }}"
  10. matrix_bot_draupnir_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_draupnir_container_image_self_build else matrix_container_global_registry_prefix }}"
  11. matrix_bot_draupnir_docker_image_force_pull: "{{ matrix_bot_draupnir_docker_image.endswith(':latest') }}"
  12. matrix_bot_draupnir_base_path: "{{ matrix_base_data_path }}/draupnir"
  13. matrix_bot_draupnir_config_path: "{{ matrix_bot_draupnir_base_path }}/config"
  14. matrix_bot_draupnir_data_path: "{{ matrix_bot_draupnir_base_path }}/data"
  15. matrix_bot_draupnir_docker_src_files_path: "{{ matrix_bot_draupnir_base_path }}/docker-src"
  16. matrix_bot_draupnir_container_network: ""
  17. matrix_bot_draupnir_container_additional_networks: "{{ matrix_bot_draupnir_container_additional_networks_auto + matrix_bot_draupnir_container_additional_networks_custom }}"
  18. matrix_bot_draupnir_container_additional_networks_auto: []
  19. matrix_bot_draupnir_container_additional_networks_custom: []
  20. # A list of extra arguments to pass to the container
  21. matrix_bot_draupnir_container_extra_arguments: []
  22. # List of systemd services that matrix-bot-draupnir.service depends on
  23. matrix_bot_draupnir_systemd_required_services_list: "{{ matrix_bot_draupnir_systemd_required_services_list_default + matrix_bot_draupnir_systemd_required_services_list_auto + matrix_bot_draupnir_systemd_required_services_list_custom }}"
  24. matrix_bot_draupnir_systemd_required_services_list_default: ['docker.service']
  25. matrix_bot_draupnir_systemd_required_services_list_auto: []
  26. matrix_bot_draupnir_systemd_required_services_list_custom: []
  27. # List of systemd services that matrix-bot-draupnir.service wants
  28. matrix_bot_draupnir_systemd_wanted_services_list: []
  29. # Whether Draupnir should talk to the homeserver through Pantalaimon
  30. # If true, then other variables must be provided including pointing
  31. # `matrix_bot_draupnir_homeserver_url` to the Pantalaimon URL.
  32. matrix_bot_draupnir_pantalaimon_use: false
  33. # The access token for the bot user. Required when NOT using Pantalaimon.
  34. # (Otherwise provide `matrix_bot_draupnir_pantalaimon_username` and `matrix_bot_draupnir_pantalaimon_password` instead.)
  35. matrix_bot_draupnir_access_token: ""
  36. # User name and password for the bot. Required when using Pantalaimon.
  37. # (Otherwise provide `matrix_bot_draupnir_access_token` instead.)
  38. matrix_bot_draupnir_pantalaimon_username: "bot.draupnir"
  39. matrix_bot_draupnir_pantalaimon_password: ""
  40. # The room ID where people can use the bot. The bot has no access controls, so
  41. # anyone in this room can use the bot - secure your room!
  42. # This should be a room alias or room ID - not a matrix.to URL.
  43. # Note: draupnir is fairly verbose - expect a lot of messages from it.
  44. matrix_bot_draupnir_management_room: ""
  45. # Endpoint URL that Draupnir uses to interact with the matrix homeserver (client-server API).
  46. # Set this to the pantalaimon URL if you're using that.
  47. matrix_bot_draupnir_homeserver_url: ""
  48. # Endpoint URL that Draupnir could use to fetch events related to reports (client-server API and /_synapse/),
  49. # only set this to the public-internet homeserver client API URL, do NOT set this to the pantalaimon URL.
  50. matrix_bot_draupnir_raw_homeserver_url: ""
  51. # Disable Server ACL is used if you want to not give the bot the right to apply Server ACLs in rooms without complaints from the bot.
  52. # This setting is described the following way in the Configuration.
  53. #
  54. # Whether or not Draupnir should apply `m.room.server_acl` events.
  55. # DO NOT change this to `true` unless you are very confident that you know what you are doing.
  56. #
  57. # Please follow the advice of upstream and only change this value if you know what your doing.
  58. # Its Exposed here because its common enough to be valid to expose.
  59. matrix_bot_draupnir_disable_server_acl: "false"
  60. # Default configuration template which covers the generic use case.
  61. # You can customize it by controlling the various variables inside it.
  62. #
  63. # For a more advanced customization, you can extend the default (see `matrix_bot_draupnir_configuration_extension_yaml`)
  64. # or completely replace this variable with your own template.
  65. matrix_bot_draupnir_configuration_yaml: "{{ lookup('template', 'templates/production.yaml.j2') }}"
  66. matrix_bot_draupnir_configuration_extension_yaml: |
  67. # Your custom YAML configuration goes here.
  68. # This configuration extends the default starting configuration (`matrix_bot_draupnir_configuration_yaml`).
  69. #
  70. # You can override individual variables from the default configuration, or introduce new ones.
  71. #
  72. # If you need something more special, you can take full control by
  73. # completely redefining `matrix_bot_draupnir_configuration_yaml`.
  74. matrix_bot_draupnir_configuration_extension: "{{ matrix_bot_draupnir_configuration_extension_yaml | from_yaml if matrix_bot_draupnir_configuration_extension_yaml | from_yaml is mapping else {} }}"
  75. # Holds the final configuration (a combination of the default and its extension).
  76. # You most likely don't need to touch this variable. Instead, see `matrix_bot_draupnir_configuration_yaml`.
  77. matrix_bot_draupnir_configuration: "{{ matrix_bot_draupnir_configuration_yaml | from_yaml | combine(matrix_bot_draupnir_configuration_extension, recursive=True) }}"