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.
 
 

375 rivejä
21 KiB

  1. # SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. # A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.
  6. # Project source code URL: https://github.com/matrix-org/matrix-hookshot
  7. matrix_hookshot_enabled: true
  8. matrix_hookshot_identifier: matrix-hookshot
  9. matrix_hookshot_container_image_self_build: false
  10. matrix_hookshot_container_image_self_build_repo: "https://github.com/matrix-org/matrix-hookshot.git"
  11. matrix_hookshot_container_image_self_build_branch: "{{ 'main' if matrix_hookshot_version == 'latest' else matrix_hookshot_version }}"
  12. # Specifies additional networks for the Hookshot container to connect with
  13. matrix_hookshot_container_additional_networks: "{{ matrix_hookshot_container_additional_networks_auto + matrix_hookshot_container_additional_networks_custom }}"
  14. matrix_hookshot_container_additional_networks_auto: []
  15. matrix_hookshot_container_additional_networks_custom: []
  16. # renovate: datasource=docker depName=halfshot/matrix-hookshot
  17. matrix_hookshot_version: 6.0.1
  18. matrix_hookshot_docker_image: "{{ matrix_hookshot_docker_image_name_prefix }}matrix-org/matrix-hookshot:{{ matrix_hookshot_version }}"
  19. matrix_hookshot_docker_image_name_prefix: "{{ 'localhost/' if matrix_hookshot_container_image_self_build else 'ghcr.io/' }}"
  20. matrix_hookshot_docker_image_force_pull: "{{ matrix_hookshot_docker_image.endswith(':latest') }}"
  21. matrix_hookshot_base_path: "{{ matrix_base_data_path }}/hookshot"
  22. matrix_hookshot_docker_src_files_path: "{{ matrix_hookshot_base_path }}/docker-src"
  23. matrix_hookshot_homeserver_address: ""
  24. matrix_hookshot_container_url: 'matrix-hookshot'
  25. # Sets the localpart of the Matrix ID for the hookshot bot
  26. matrix_hookshot_bot_localpart: "hookshot"
  27. matrix_hookshot_public_scheme: https
  28. matrix_hookshot_public_hostname: "{{ matrix_server_fqn_matrix }}"
  29. matrix_hookshot_public_endpoint: /hookshot
  30. # This is the base URL prefix shared among all endpoints.
  31. #
  32. # It intentionally does not include the path prefix (`matrix_hookshot_public_endpoint`),
  33. # because of how it's used - it's concatenated with paths that already use matrix_hookshot_public_endpoint` within them.
  34. matrix_hookshot_urlprefix: "{{ matrix_hookshot_public_scheme }}://{{ matrix_hookshot_public_hostname }}"
  35. # There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
  36. matrix_hookshot_appservice_port: 9993
  37. matrix_hookshot_appservice_hostname: "{{ matrix_hookshot_public_hostname }}"
  38. matrix_hookshot_appservice_endpoint: "{{ matrix_hookshot_public_endpoint }}/_matrix/app"
  39. # The variables below control the Redis cache parameters.
  40. # Using caching is required when encryption is enabled (`matrix_hookshot_encryption_enabled`)
  41. # but may also speed up Hookshot startup, etc.
  42. matrix_hookshot_cache_redis_host: ''
  43. matrix_hookshot_cache_redis_port: "6379"
  44. matrix_hookshot_cache_redisUri: "{{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}" # noqa var-naming
  45. # Controls whether the end-to-bridge encryption support is enabled.
  46. # This requires that:
  47. # - support to also be enabled in the homeserver, see the documentation of Hookshot.
  48. # - Hookshot to be pointed at a Redis instance via the `matrix_hookshot_cache_redis*` variables.
  49. # See: https://matrix-org.github.io/matrix-hookshot/latest/advanced/encryption.html
  50. matrix_hookshot_encryption_enabled: false
  51. # Controls whether metrics are enabled in the bridge configuration.
  52. # Enabling them is usually enough for a local (in-container) Prometheus to consume them.
  53. # If metrics need to be consumed by another (external) Prometheus server, consider exposing them via `matrix_hookshot_metrics_proxying_enabled`.
  54. matrix_hookshot_metrics_enabled: false
  55. # Controls whether Hookshot metrics should be proxied (exposed) on a public URL.
  56. matrix_hookshot_metrics_proxying_enabled: false
  57. matrix_hookshot_metrics_proxying_hostname: ''
  58. matrix_hookshot_metrics_proxying_path_prefix: ''
  59. # There is no need to edit ports.
  60. # Read the documentation to learn about using Hookshot metrics with external Prometheus
  61. # If you still want something different, use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
  62. matrix_hookshot_metrics_port: 9001
  63. # There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
  64. matrix_hookshot_webhook_port: 9000
  65. matrix_hookshot_webhook_hostname: "{{ matrix_hookshot_public_hostname }}"
  66. matrix_hookshot_webhook_endpoint: "{{ matrix_hookshot_public_endpoint }}/webhooks"
  67. # You need to create a GitHub app to enable this and fill in the empty variables below
  68. # https://matrix-org.github.io/matrix-hookshot/setup/github.html
  69. matrix_hookshot_github_enabled: false
  70. matrix_hookshot_github_auth_id: ''
  71. # Set this variable to the contents of the generated and downloaded GitHub private key:
  72. # matrix_hookshot_github_private_key: |
  73. # -----BEGIN RSA PRIVATE KEY-----
  74. # 0123456789ABCDEF…
  75. # -----END RSA PRIVATE KEY-----
  76. # Alternatively, leave it empty and do it manually or use matrix-aux instead, see docs/matrix-bridge-hookshot.md for info.
  77. matrix_hookshot_github_private_key: ''
  78. matrix_hookshot_github_private_key_file: 'private-key.pem'
  79. matrix_hookshot_github_webhook_secret: '' # "Webhook secret" on the GitHub App page
  80. matrix_hookshot_github_oauth_enabled: false
  81. # You need to configure oauth settings only when you have enabled oauth (optional)
  82. matrix_hookshot_github_oauth_client_id: '' # "Client ID" on the GitHub App page
  83. matrix_hookshot_github_oauth_client_secret: '' # "Client Secret" on the GitHub App page
  84. # Default value of matrix_hookshot_github_oauth_endpoint: "/hookshot/webhooks/oauth"
  85. matrix_hookshot_github_oauth_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/oauth"
  86. matrix_hookshot_github_oauth_redirect_uri: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_github_oauth_endpoint }}"
  87. # These are the default settings mentioned here and don't need to be modified: https://matrix-org.github.io/matrix-hookshot/usage/room_configuration/github_repo.html#configuration
  88. matrix_hookshot_github_defaultOptions_ignoreHooks: {} # noqa var-naming
  89. matrix_hookshot_github_defaultOptions_commandPrefix: '!gh' # noqa var-naming
  90. matrix_hookshot_github_defaultOptions_showIssueRoomLink: false # noqa var-naming
  91. matrix_hookshot_github_defaultOptions_prDiff: # noqa var-naming
  92. enabled: false
  93. maxLines: 5
  94. matrix_hookshot_github_defaultOptions_includingLabels: '' # noqa var-naming
  95. matrix_hookshot_github_defaultOptions_excludingLabels: '' # noqa var-naming
  96. matrix_hookshot_github_defaultOptions_hotlinkIssues_prefix: "#" # noqa var-naming
  97. matrix_hookshot_gitlab_enabled: true
  98. # Optionally add your instances, e.g.
  99. # matrix_hookshot_gitlab_instances:
  100. # gitlab.com:
  101. # url: https://gitlab.com
  102. # mygitlab:
  103. # url: https://gitlab.example.org
  104. matrix_hookshot_gitlab_instances:
  105. gitlab.com:
  106. url: https://gitlab.com
  107. # This will be the "Secret token" you have to enter into all GitLab instances for authentication
  108. matrix_hookshot_gitlab_webhook_secret: ''
  109. matrix_hookshot_gitlab_webhook_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_webhook_endpoint }}" # noqa var-naming
  110. matrix_hookshot_figma_enabled: false
  111. # Default value of matrix_hookshot_figma_endpoint: "/hookshot/webhooks/figma/webhook"
  112. matrix_hookshot_figma_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/figma/webhook"
  113. matrix_hookshot_figma_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_figma_endpoint }}" # noqa var-naming
  114. # To bridge figma webhooks, you need to configure one of multiple instances like this:
  115. # matrix_hookshot_figma_instances:
  116. # your-instance:
  117. # teamId: your-team-id
  118. # accessToken: your-personal-access-token
  119. # passcode: your-webhook-passcode
  120. matrix_hookshot_figma_instances: {}
  121. matrix_hookshot_jira_enabled: false
  122. # Get the these values from https://matrix-org.github.io/matrix-hookshot/setup/jira.html#jira-oauth
  123. matrix_hookshot_jira_webhook_secret: ''
  124. matrix_hookshot_jira_oauth_enabled: false
  125. matrix_hookshot_jira_oauth_client_id: ''
  126. matrix_hookshot_jira_oauth_client_secret: ''
  127. # Default value of matrix_hookshot_jira_oauth_endpoint: "/hookshot/webhooks/jira/oauth"
  128. matrix_hookshot_jira_oauth_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/jira/oauth"
  129. matrix_hookshot_jira_oauth_redirect_uri: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_jira_oauth_endpoint }}"
  130. # No need to change these
  131. matrix_hookshot_generic_enabled: true
  132. matrix_hookshot_generic_outbound: true
  133. matrix_hookshot_generic_enableHttpGet: false # noqa var-naming
  134. # Default value of matrix_hookshot_generic_endpoint: "/hookshot/webhooks"
  135. matrix_hookshot_generic_endpoint: "{{ matrix_hookshot_webhook_endpoint }}/webhook"
  136. # urlprefix gets updated with protocol & port in group_vars/matrix_servers
  137. matrix_hookshot_generic_urlPrefix: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_generic_endpoint }}" # noqa var-naming
  138. # If you're also using matrix-appservice-webhooks, take care that these prefixes don't overlap
  139. matrix_hookshot_generic_userIdPrefix: '_webhooks_' # noqa var-naming
  140. matrix_hookshot_generic_allowJsTransformationFunctions: false # noqa var-naming
  141. matrix_hookshot_generic_waitForComplete: false # noqa var-naming
  142. matrix_hookshot_feeds_enabled: true
  143. matrix_hookshot_feeds_pollIntervalSeconds: 600 # noqa var-naming
  144. matrix_hookshot_feeds_pollTimeoutSeconds: 30 # noqa var-naming
  145. matrix_hookshot_provisioning_enabled: false
  146. # There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
  147. matrix_hookshot_provisioning_port: 9002
  148. matrix_hookshot_provisioning_secret: ''
  149. # Provisioning will be automatically enabled if dimension is enabled and you have provided a provisioning secret, unless you override it
  150. matrix_hookshot_provisioning_internal: "/v1"
  151. matrix_hookshot_provisioning_hostname: "{{ matrix_hookshot_public_hostname }}"
  152. matrix_hookshot_provisioning_endpoint: "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_provisioning_internal }}"
  153. # Valid logging levels are: debug, info, warn, error
  154. matrix_hookshot_logging_level: warn
  155. matrix_hookshot_widgets_enabled: true
  156. matrix_hookshot_widgets_port: 9003
  157. matrix_hookshot_widgets_addToAdminRooms: false # default off as it is a beta feature # noqa var-naming
  158. matrix_hookshot_widgets_roomSetupWidget_enabled: true # noqa var-naming
  159. matrix_hookshot_widgets_roomSetupWidget_addOnInvite: false # noqa var-naming
  160. # `disallowedIpRanges` describes which IP ranges should be disallowed when resolving homeserver IP addresses (for security reasons). Unless you know what you are doing, it is recommended to not include this key. The following IPs are blocked by default, unless you supply another list.
  161. # matrix_hookshot_widgets_disallowedIpRanges:
  162. # - 127.0.0.0/8
  163. # - 10.0.0.0/8
  164. # - 172.16.0.0/12
  165. # - 192.168.0.0/16
  166. # - 100.64.0.0/10
  167. # - 192.0.0.0/24
  168. # - 169.254.0.0/16
  169. # - 192.88.99.0/24
  170. # - 198.18.0.0/15
  171. # - 192.0.2.0/24
  172. # - 198.51.100.0/24
  173. # - 203.0.113.0/24
  174. # - 224.0.0.0/4
  175. # - ::1/128
  176. # - fe80::/10
  177. # - fc00::/7
  178. # - 2001:db8::/32
  179. # - ff00::/8
  180. # - fec0::/10
  181. matrix_hookshot_widgets_disallowedIpRanges: '' # noqa var-naming
  182. matrix_hookshot_widgets_internal: "/widgetapi"
  183. matrix_hookshot_widgets_hostname: "{{ matrix_hookshot_public_hostname }}"
  184. matrix_hookshot_widgets_endpoint: "{{ matrix_hookshot_public_endpoint }}{{ matrix_hookshot_widgets_internal }}"
  185. matrix_hookshot_widgets_publicUrl: "{{ matrix_hookshot_urlprefix }}{{ matrix_hookshot_widgets_endpoint }}/v1/static/" # noqa var-naming
  186. matrix_hookshot_widgets_branding_widgetTitle: "Hookshot Configuration" # noqa var-naming
  187. # You can configure access to the bridge as documented here https://matrix-org.github.io/matrix-hookshot/setup.html#permissions
  188. # When empty, the default permissions are applied.
  189. # Example:
  190. # matrix_hookshot_permissions:
  191. # - actor: *
  192. # services:
  193. # - service: *
  194. # level: commands
  195. # - actor: example.com
  196. # services:
  197. # - service: "*"
  198. # level: admin
  199. matrix_hookshot_permissions: []
  200. matrix_hookshot_bot_displayname: Hookshot Bot
  201. matrix_hookshot_bot_avatar: 'mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d'
  202. matrix_hookshot_container_network: ""
  203. # A list of extra arguments to pass to the container
  204. matrix_hookshot_container_extra_arguments: []
  205. # matrix_hookshot_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
  206. # See `../templates/labels.j2` for details.
  207. #
  208. # To inject your own other container labels, see `matrix_hookshot_container_labels_additional_labels`.
  209. matrix_hookshot_container_labels_traefik_enabled: true
  210. matrix_hookshot_container_labels_traefik_docker_network: "{{ matrix_hookshot_container_network }}"
  211. matrix_hookshot_container_labels_traefik_entrypoints: web-secure
  212. matrix_hookshot_container_labels_traefik_tls_certResolver: default # noqa var-naming
  213. # Controls whether labels will be added that expose Hookshot's webhooks endpoint
  214. matrix_hookshot_container_labels_webhooks_enabled: true
  215. matrix_hookshot_container_labels_webhooks_traefik_rule: "Host(`{{ matrix_hookshot_webhook_hostname }}`) && PathPrefix(`{{ matrix_hookshot_webhook_endpoint }}`)"
  216. matrix_hookshot_container_labels_webhooks_traefik_priority: 0
  217. matrix_hookshot_container_labels_webhooks_traefik_entrypoints: "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
  218. matrix_hookshot_container_labels_webhooks_traefik_tls: "{{ matrix_hookshot_container_labels_webhooks_traefik_entrypoints != 'web' }}"
  219. matrix_hookshot_container_labels_webhooks_traefik_tls_certResolver: "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  220. # Controls whether labels will be added that expose Hookshot's appservice endpoint
  221. matrix_hookshot_container_labels_appservice_enabled: true
  222. matrix_hookshot_container_labels_appservice_traefik_rule: "Host(`{{ matrix_hookshot_appservice_hostname }}`) && PathPrefix(`{{ matrix_hookshot_appservice_endpoint }}`)"
  223. matrix_hookshot_container_labels_appservice_traefik_priority: 0
  224. matrix_hookshot_container_labels_appservice_traefik_entrypoints: "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
  225. matrix_hookshot_container_labels_appservice_traefik_tls: "{{ matrix_hookshot_container_labels_appservice_traefik_entrypoints != 'web' }}"
  226. matrix_hookshot_container_labels_appservice_traefik_tls_certResolver: "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  227. # Controls whether labels will be added that expose Hookshot's widgets endpoint
  228. matrix_hookshot_container_labels_widgets_enabled: "{{ matrix_hookshot_widgets_enabled }}"
  229. matrix_hookshot_container_labels_widgets_traefik_rule: "Host(`{{ matrix_hookshot_widgets_hostname }}`) && PathPrefix(`{{ matrix_hookshot_widgets_endpoint }}`)"
  230. matrix_hookshot_container_labels_widgets_traefik_priority: 0
  231. matrix_hookshot_container_labels_widgets_traefik_entrypoints: "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
  232. matrix_hookshot_container_labels_widgets_traefik_tls: "{{ matrix_hookshot_container_labels_widgets_traefik_entrypoints != 'web' }}"
  233. matrix_hookshot_container_labels_widgets_traefik_tls_certResolver: "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  234. # Controls whether labels will be added that expose Hookshot's provisioning endpoint
  235. matrix_hookshot_container_labels_provisioning_enabled: "{{ matrix_hookshot_provisioning_enabled }}"
  236. matrix_hookshot_container_labels_provisioning_traefik_rule: "Host(`{{ matrix_hookshot_provisioning_hostname }}`) && PathPrefix(`{{ matrix_hookshot_provisioning_endpoint }}`)"
  237. matrix_hookshot_container_labels_provisioning_traefik_priority: 0
  238. matrix_hookshot_container_labels_provisioning_traefik_entrypoints: "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
  239. matrix_hookshot_container_labels_provisioning_traefik_tls: "{{ matrix_hookshot_container_labels_provisioning_traefik_entrypoints != 'web' }}"
  240. matrix_hookshot_container_labels_provisioning_traefik_tls_certResolver: "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  241. # Controls whether labels will be added that expose Hookshot's provisioning endpoint
  242. matrix_hookshot_container_labels_metrics_enabled: "{{ matrix_hookshot_metrics_enabled and matrix_hookshot_metrics_proxying_enabled }}"
  243. matrix_hookshot_container_labels_metrics_traefik_rule: "Host(`{{ matrix_hookshot_metrics_proxying_hostname }}`) && PathPrefix(`{{ matrix_hookshot_metrics_proxying_path_prefix }}`)"
  244. matrix_hookshot_container_labels_metrics_traefik_priority: 0
  245. matrix_hookshot_container_labels_metrics_traefik_entrypoints: "{{ matrix_hookshot_container_labels_traefik_entrypoints }}"
  246. matrix_hookshot_container_labels_metrics_traefik_tls: "{{ matrix_hookshot_container_labels_metrics_traefik_entrypoints != 'web' }}"
  247. matrix_hookshot_container_labels_metrics_traefik_tls_certResolver: "{{ matrix_hookshot_container_labels_traefik_tls_certResolver }}" # noqa var-naming
  248. matrix_hookshot_container_labels_metrics_middleware_basic_auth_enabled: false
  249. # See: https://doc.traefik.io/traefik/middlewares/http/basicauth/#users
  250. matrix_hookshot_container_labels_metrics_middleware_basic_auth_users: ''
  251. # matrix_hookshot_container_labels_additional_labels contains a multiline string with additional labels to add to the container label file.
  252. # See `../templates/labels.j2` for details.
  253. #
  254. # Example:
  255. # matrix_hookshot_container_labels_additional_labels: |
  256. # my.label=1
  257. # another.label="here"
  258. matrix_hookshot_container_labels_additional_labels: ''
  259. # List of systemd services that service depends on.
  260. matrix_hookshot_systemd_required_services_list: "{{ matrix_hookshot_systemd_required_services_list_default + matrix_hookshot_systemd_required_services_list_auto + matrix_hookshot_systemd_required_services_list_custom }}"
  261. matrix_hookshot_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
  262. matrix_hookshot_systemd_required_services_list_auto: []
  263. matrix_hookshot_systemd_required_services_list_custom: []
  264. # List of systemd services that service wants
  265. matrix_hookshot_systemd_wanted_services_list: []
  266. # List of ports to bind to the host to expose them directly.
  267. # Supply docker port bind arguments in a list like this:
  268. #
  269. # matrix_hookshot_container_http_host_bind_ports:
  270. # - "127.0.0.1:9999:{{ matrix_hookshot_metrics_port }}"
  271. #
  272. # Above example will bind the metrics port in the container to port 9999 on localhost.
  273. matrix_hookshot_container_http_host_bind_ports: []
  274. # These tokens will be set automatically
  275. matrix_hookshot_appservice_token: ''
  276. matrix_hookshot_homeserver_token: ''
  277. # Default configuration template which covers the generic use case.
  278. # You can customize it by controlling the various variables inside it.
  279. #
  280. # For a more advanced customization, you can extend the default (see `matrixhookshot_configuration_extension_yaml`)
  281. # or completely replace this variable with your own template.
  282. matrix_hookshot_configuration_yaml: "{{ lookup('template', 'templates/config.yml.j2') }}"
  283. matrix_hookshot_configuration_extension_yaml: |
  284. # Your custom YAML configuration goes here.
  285. # This configuration extends the default starting configuration (`matrix_hookshot_configuration_yaml`).
  286. #
  287. # You can override individual variables from the default configuration, or introduce new ones.
  288. #
  289. # If you need something more special, you can take full control by
  290. # completely redefining `matrix_hookshot_configuration_yaml`.
  291. matrix_hookshot_configuration_extension: "{{ matrix_hookshot_configuration_extension_yaml | from_yaml if matrix_hookshot_configuration_extension_yaml | from_yaml is mapping else {} }}"
  292. # Holds the final configuration (a combination of the default and its extension).
  293. # You most likely don't need to touch this variable. Instead, see `matrix_hookshot_configuration_yaml`.
  294. matrix_hookshot_configuration: "{{ matrix_hookshot_configuration_yaml | from_yaml | combine(matrix_hookshot_configuration_extension, recursive=True) }}"
  295. # Default registration template which covers the generic use case.
  296. # You can customize it by controlling the various variables inside it.
  297. #
  298. # For a more advanced customization, you can extend the default (see `matrixhookshot_registration_extension_yaml`)
  299. # or completely replace this variable with your own template.
  300. matrix_hookshot_registration_yaml: "{{ lookup('template', 'templates/registration.yml.j2') }}"
  301. matrix_hookshot_registration_extension_yaml: |
  302. # Your custom YAML registration goes here.
  303. # This registration extends the default starting registration (`matrix_hookshot_registration_yaml`).
  304. #
  305. # You can override individual variables from the default registration, or introduce new ones.
  306. #
  307. # If you need something more special, you can take full control by
  308. # completely redefining `matrix_hookshot_registration_yaml`.
  309. matrix_hookshot_registration_extension: "{{ matrix_hookshot_registration_extension_yaml | from_yaml if matrix_hookshot_registration_extension_yaml | from_yaml is mapping else {} }}"
  310. # Holds the final registration (a combination of the default and its extension).
  311. # You most likely don't need to touch this variable. Instead, see `matrix_hookshot_registration_yaml`.
  312. matrix_hookshot_registration: "{{ matrix_hookshot_registration_yaml | from_yaml | combine(matrix_hookshot_registration_extension, recursive=True) }}"