|
- ---
- # matrix-registration-bot creates and manages registration tokens for a matrix server
- # See: https://github.com/moan0s/matrix-registration-bot
-
- matrix_bot_matrix_registration_bot_enabled: true
- matrix_bot_matrix_registration_bot_container_image_self_build: false
- matrix_bot_matrix_registration_bot_docker_repo: "https://github.com/moan0s/matrix-registration-bot.git"
- matrix_bot_matrix_registration_bot_docker_src_files_path: "{{ matrix_base_data_path }}/matrix-registration-bot/"
-
- matrix_bot_matrix_registration_bot_version: latest
- matrix_bot_matrix_registration_bot_docker_image: "{{ matrix_container_global_registry_prefix }}moanos/matrix-registration-bot:{{ matrix_bot_matrix_registration_bot_version }}"
- matrix_bot_matrix_registration_bot_docker_image_force_pull: "{{ matrix_bot_matrix_registration_bot_docker_image.endswith(':latest') }}"
-
- matrix_bot_matrix_registration_bot_base_path: "{{ matrix_base_data_path }}/matrix-registration-bot"
- matrix_bot_matrix_registration_bot_config_path: "{{ matrix_bot_matrix_registration_bot_base_path }}/config"
-
- # A list of extra arguments to pass to the container
- matrix_bot_matrix_registration_bot_container_extra_arguments: []
-
- # List of systemd services that matrix-bot-matrix-registration-bot.service depends on
- matrix_bot_matrix_registration_bot_systemd_required_services_list: ['docker.service']
-
- # List of systemd services that matrix-bot-matrix-registration-bot.service wants
- matrix_bot_matrix_registration_bot_systemd_wanted_services_list: []
-
- # The bot's username. This user needs to be created manually beforehand.
- # Also see `matrix_bot_matrix_registration_bot_user_password`.
- matrix_bot_matrix_registration_bot_matrix_user_id_localpart: "matrix-registration-bot"
-
- matrix_bot_matrix_registration_bot_matrix_user_id: '@{{ matrix_bot_matrix_registration_bot_matrix_user_id_localpart }}:{{ matrix_domain }}'
-
- # The password that the bot uses to authenticate.
- matrix_bot_matrix_registration_bot_matrix_user_password: ''
-
- matrix_bot_matrix_registration_bot_matrix_homeserver_url: "{{ matrix_homeserver_container_url }}"
-
- # Default configuration template which covers the generic use case.
- # You can customize it by controlling the various variables inside it.
- #
- # For a more advanced customization, you can extend the default (see `matrix_bot_matrix_registration_bot_configuration_extension_yaml`)
- # or completely replace this variable with your own template.
- matrix_bot_matrix_registration_bot_configuration_yaml: "{{ lookup('template', 'templates/config.yml.j2') }}"
-
- matrix_bot_matrix_registration_bot_configuration_extension_yaml: |
- # Your custom YAML configuration goes here.
- # This configuration extends the default starting configuration (`matrix_bot_matrix_registration_bot_configuration_yaml`).
- #
- # You can override individual variables from the default configuration, or introduce new ones.
- #
- # If you need something more special, you can take full control by
- # completely redefining `matrix_bot_matrix_registration_bot_configuration_yaml`.
- #
- # Example configuration extension follows:
- #
- # matrix:
- # device_name: My-Registration-Bot
-
- matrix_bot_matrix_registration_bot_configuration_extension: "{{ matrix_bot_matrix_registration_bot_configuration_extension_yaml|from_yaml if matrix_bot_matrix_registration_bot_configuration_extension_yaml|from_yaml is mapping else {} }}"
-
- # Holds the final configuration (a combination of the default and its extension).
- # You most likely don't need to touch this variable. Instead, see `matrix_bot_matrix_registration_bot_configuration_yaml`.
- matrix_bot_matrix_registration_bot_configuration: "{{ matrix_bot_matrix_registration_bot_configuration_yaml|from_yaml|combine(matrix_bot_matrix_registration_bot_configuration_extension, recursive=True) }}"
|