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.
 
 

88 regels
5.6 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2023 Julian-Samuel Gebühr
  2. # SPDX-FileCopyrightText: 2022 - 2025 Slavi Pantaleev
  3. # SPDX-FileCopyrightText: 2022 Erick Wibben
  4. # SPDX-FileCopyrightText: 2022 MDAD project contributors
  5. # SPDX-FileCopyrightText: 2022 Nikita Chernyi
  6. # SPDX-FileCopyrightText: 2023 Samuel Meenzen
  7. # SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
  8. #
  9. # SPDX-License-Identifier: AGPL-3.0-or-later
  10. ---
  11. # matrix-registration-bot creates and manages registration tokens for a Matrix server
  12. # Project source code URL: https://github.com/moan0s/matrix-registration-bot
  13. matrix_bot_matrix_registration_bot_enabled: true
  14. matrix_bot_matrix_registration_bot_container_image_self_build: false
  15. matrix_bot_matrix_registration_bot_container_repo: "https://github.com/moan0s/matrix-registration-bot.git"
  16. matrix_bot_matrix_registration_bot_container_repo_version: "{{ 'main' if matrix_bot_matrix_registration_bot_version == 'latest' else ('v' + matrix_bot_matrix_registration_bot_version) }}"
  17. matrix_bot_matrix_registration_bot_container_src_files_path: "{{ matrix_bot_matrix_registration_bot_base_path }}/docker-src"
  18. # renovate: datasource=docker depName=moanos/matrix-registration-bot
  19. matrix_bot_matrix_registration_bot_version: 1.3.0
  20. matrix_bot_matrix_registration_bot_container_iteration: 0
  21. matrix_bot_matrix_registration_bot_container_tag: "{{ matrix_bot_matrix_registration_bot_version }}-{{ matrix_bot_matrix_registration_bot_container_iteration }}"
  22. matrix_bot_matrix_registration_bot_container_image: "{{ matrix_bot_matrix_registration_bot_container_image_registry_prefix }}moanos/matrix-registration-bot:{{ matrix_bot_matrix_registration_bot_container_tag }}"
  23. matrix_bot_matrix_registration_bot_container_image_registry_prefix: "{{ 'localhost/' if matrix_bot_matrix_registration_bot_container_image_self_build else matrix_bot_matrix_registration_bot_container_image_registry_prefix_upstream }}"
  24. matrix_bot_matrix_registration_bot_container_image_registry_prefix_upstream: "{{ matrix_bot_matrix_registration_bot_container_image_registry_prefix_upstream_default }}"
  25. matrix_bot_matrix_registration_bot_container_image_registry_prefix_upstream_default: "docker.io/"
  26. matrix_bot_matrix_registration_bot_container_image_force_pull: "{{ matrix_bot_matrix_registration_bot_container_image.endswith(':latest') }}"
  27. matrix_bot_matrix_registration_bot_base_path: "{{ matrix_base_data_path }}/matrix-registration-bot"
  28. matrix_bot_matrix_registration_bot_config_path: "{{ matrix_bot_matrix_registration_bot_base_path }}/config"
  29. matrix_bot_matrix_registration_bot_data_path: "{{ matrix_bot_matrix_registration_bot_base_path }}/data"
  30. matrix_bot_matrix_registration_bot_bot_server: "{{ matrix_homeserver_url }}"
  31. # The bot's username. This user needs to be created manually beforehand.
  32. # Also see `matrix_bot_matrix_registration_bot_user_password`.
  33. matrix_bot_matrix_registration_bot_matrix_user_id_localpart: "bot.matrix-registration-bot"
  34. matrix_bot_matrix_registration_bot_matrix_user_id: '@{{ matrix_bot_matrix_registration_bot_matrix_user_id_localpart }}:{{ matrix_domain }}'
  35. # The bot's password (can also be used to login via a client like Element Web)
  36. matrix_bot_matrix_registration_bot_bot_password: ''
  37. # Optional bot command prefix
  38. matrix_bot_matrix_registration_bot_bot_prefix: ""
  39. # Homeserver base URL
  40. matrix_bot_matrix_registration_bot_api_base_url: "{{ matrix_homeserver_url }}"
  41. # Optional variable that only needs to be set if the bot account is not admin
  42. # Needs to be a valid access token of an admin account
  43. matrix_bot_matrix_registration_bot_api_token: ''
  44. matrix_bot_matrix_registration_bot_device_id: "matrix-docker-ansible-deploy"
  45. # Valid values: ERROR, INFO, DEBUG
  46. matrix_bot_matrix_registration_bot_logging_level: INFO
  47. matrix_bot_matrix_registration_bot_container_network: ""
  48. matrix_bot_matrix_registration_bot_container_additional_networks: "{{ matrix_bot_matrix_registration_bot_container_additional_networks_auto + matrix_bot_matrix_registration_bot_container_additional_networks_custom }}"
  49. matrix_bot_matrix_registration_bot_container_additional_networks_auto: []
  50. matrix_bot_matrix_registration_bot_container_additional_networks_custom: []
  51. # A list of extra arguments to pass to the container
  52. matrix_bot_matrix_registration_bot_container_extra_arguments: []
  53. # List of systemd services that matrix-bot-matrix-registration-bot.service depends on
  54. matrix_bot_matrix_registration_bot_systemd_required_services_list: "{{ matrix_bot_matrix_registration_bot_systemd_required_services_list_default + matrix_bot_matrix_registration_bot_systemd_required_services_list_auto + matrix_bot_matrix_registration_bot_systemd_required_services_list_custom }}"
  55. matrix_bot_matrix_registration_bot_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  56. matrix_bot_matrix_registration_bot_systemd_required_services_list_auto: []
  57. matrix_bot_matrix_registration_bot_systemd_required_services_list_custom: []
  58. # List of systemd services that matrix-bot-matrix-registration-bot.service wants
  59. matrix_bot_matrix_registration_bot_systemd_wanted_services_list: []
  60. # matrix_bot_matrix_registration_bot_restart_necessary controls whether the service
  61. # will be restarted (when true) or merely started (when false) by the
  62. # systemd service manager role (when conditional restart is enabled).
  63. #
  64. # This value is automatically computed during installation based on whether
  65. # any configuration files, the systemd service file, or the container image changed.
  66. # The default of `false` means "no restart needed" — appropriate when the role's
  67. # installation tasks haven't run (e.g., due to --tags skipping them).
  68. matrix_bot_matrix_registration_bot_restart_necessary: false