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.
 
 

846 lines
61 KiB

  1. # SPDX-FileCopyrightText: 2022-2025 Slavi Pantaleev
  2. # SPDX-FileCopyrightText: 2024, 2025 MDAD project contributors
  3. # SPDX-FileCopyrightText: 2024-2026 Suguru Hirahara
  4. #
  5. # SPDX-License-Identifier: AGPL-3.0-or-later
  6. ---
  7. - name: (Deprecation) Catch and report renamed Matrix playbook settings
  8. ansible.builtin.fail:
  9. msg: >-
  10. Your configuration contains a variable, which now has a different name.
  11. Please rename the variable (`{{ item.old }}` -> `{{ item.new }}`) on your configuration file (vars.yml).
  12. when: "lookup('ansible.builtin.varnames', ('^' + item.old + '$'), wantlist=True) | length > 0"
  13. with_items:
  14. - {'old': 'matrix_vars_yml_snapshotting_enabled', 'new': 'devture_playbook_state_preserver_vars_preservation_enabled'}
  15. - {'old': 'matrix_vars_yml_snapshotting_src', 'new': 'devture_playbook_state_preserver_vars_preservation_src'}
  16. - {'old': 'matrix_playbook_commit_hash_preservation_enabled', 'new': 'devture_playbook_state_preserver_commit_hash_preservation_enabled'}
  17. - {'old': 'matrix_ntpd_package', 'new': 'devture_timesync_ntpd_package'}
  18. - {'old': 'matrix_ntpd_service', 'new': 'devture_timesync_ntpd_service'}
  19. - {'old': 'matrix_systemd_unit_home_path', 'new': 'devture_systemd_docker_base_systemd_unit_home_path'}
  20. - {'old': 'matrix_systemd_path', 'new': 'devture_systemd_docker_base_systemd_path'}
  21. - {'old': 'matrix_host_command_docker', 'new': 'devture_systemd_docker_base_host_command_docker'}
  22. - {'old': 'matrix_host_command_sh', 'new': 'devture_systemd_docker_base_host_command_sh'}
  23. - {'old': 'matrix_host_command_systemctl', 'new': 'devture_systemd_docker_base_host_command_systemctl'}
  24. - {'old': 'matrix_container_retries_count', 'new': 'devture_playbook_help_container_retries_count'}
  25. - {'old': 'matrix_container_retries_delay', 'new': 'devture_playbook_help_container_retries_delay'}
  26. - {'old': 'matrix_geturl_retries_count', 'new': 'devture_playbook_help_geturl_retries_count'}
  27. - {'old': 'matrix_geturl_retries_delay', 'new': 'devture_playbook_help_geturl_retries_delay'}
  28. - {'old': 'matrix_nginx_proxy_synapse_cache_path', 'new': 'matrix_synapse_reverse_proxy_companion_synapse_cache_path'}
  29. - {'old': 'matrix_nginx_proxy_synapse_cache_enabled', 'new': 'matrix_synapse_reverse_proxy_companion_synapse_cache_enabled'}
  30. - {'old': 'matrix_docker_installation_enabled', 'new': 'matrix_playbook_docker_installation_enabled'}
  31. - {'old': 'matrix_docker_package_name', 'new': '<Not applicable. Docker is installed using https://github.com/geerlingguy/ansible-role-docker now>'}
  32. - {'old': 'matrix_systemd_services_list', 'new': 'devture_systemd_service_manager_services_list_additional'}
  33. - {'old': 'matrix_common_after_systemd_service_start_wait_for_timeout_seconds', 'new': 'devture_systemd_service_manager_up_verification_delay_seconds'}
  34. - {'old': 'matrix_systemd_services_autostart_enabled', 'new': 'devture_systemd_service_manager_services_autostart_enabled'}
  35. - {'old': 'matrix_prometheus_node_exporter_metrics_proxying_enabled', 'new': '<prometheus_node_exporter_container_labels_traefik_enabled or matrix_metrics_exposure_enabled>'}
  36. - {'old': 'matrix_prometheus_postgres_exporter_metrics_proxying_enabled', 'new': '<prometheus_postgres_exporter_container_labels_traefik_enabled or matrix_metrics_exposure_enabled>'}
  37. - {'old': 'matrix_playbook_traefik_certs_dumper_role_enabled', 'new': 'traefik_certs_dumper_enabled'}
  38. - {'old': 'matrix_playbook_traefik_role_enabled', 'new': 'traefik_enabled'}
  39. # Most important variables from the old Prometheus role here, for people who miss the changelog entry
  40. - {'old': 'matrix_prometheus_enabled', 'new': 'prometheus_enabled'}
  41. - {'old': 'matrix_prometheus_process_default_arguments', 'new': 'prometheus_process_default_arguments'}
  42. - {'old': 'matrix_prometheus_process_extra_arguments', 'new': 'prometheus_process_extra_arguments'}
  43. - {'old': 'matrix_prometheus_configuration_extension_yaml', 'new': 'prometheus_configuration_extension_yaml'}
  44. - {'old': 'matrix_prometheus_scraper_synapse_enabled', 'new': 'matrix_prometheus_services_connect_synapse_enabled'}
  45. - {'old': 'matrix_prometheus_scraper_synapse_targets', 'new': '<superseded by matrix_prometheus_services_connect_scraper_synapse_main_process_static_configs_target>'}
  46. - {'old': 'matrix_prometheus_scraper_synapse_workers_enabled_list', 'new': 'matrix_prometheus_services_connect_scraper_synapse_workers_enabled_list'}
  47. - {'old': 'matrix_prometheus_scraper_synapse_rules_synapse_tag', 'new': 'matrix_prometheus_services_connect_synapse_rules_download_synapse_tag'}
  48. - {'old': 'matrix_prometheus_scraper_node_enabled', 'new': 'prometheus_self_node_scraper_enabled'}
  49. - {'old': 'matrix_prometheus_scraper_node_targets', 'new': '<superseded by prometheus_self_node_scraper_static_configs_target>'}
  50. - {'old': 'matrix_prometheus_scraper_postgres_enabled', 'new': 'matrix_prometheus_services_connect_scraper_postgres_enabled'}
  51. - {'old': 'matrix_prometheus_scraper_postgres_targets', 'new': '<superseded by matrix_prometheus_services_connect_scraper_postgres_static_configs_target>'}
  52. - {'old': 'matrix_prometheus_scraper_hookshot_enabled', 'new': 'matrix_prometheus_services_connect_scraper_hookshot_enabled'}
  53. - {'old': 'matrix_prometheus_scraper_hookshot_targets', 'new': '<superseded by matrix_prometheus_services_connect_scraper_hookshot_static_configs_target>'}
  54. - {'old': 'matrix_prometheus_scraper_nginxlog_enabled', 'new': 'matrix_prometheus_services_connect_scraper_nginxlog_enabled'}
  55. - {'old': 'matrix_prometheus_scraper_nginxlog_server_port', 'new': 'matrix_prometheus_services_connect_scraper_nginxlog_static_configs_target'}
  56. - {'old': 'matrix_prosody_jitsi_max_participants', 'new': 'jitsi_prosody_max_participants'}
  57. - {'old': 'jitsi_require_well_known', 'new': 'jitsi_web_well_known_element_jitsi_enabled'}
  58. - {'old': 'jitsi_wellknown_element_jitsi_json', 'new': 'jitsi_web_well_known_element_jitsi_json'}
  59. - {'old': 'exim_relay_docker_image', 'new': 'exim_relay_container_image'}
  60. - {'old': 'exim_relay_docker_image_name_prefix', 'new': 'exim_relay_container_image_name_prefix'}
  61. - {'old': 'exim_relay_docker_image_force_pull', 'new': 'exim_relay_container_image_force_pull'}
  62. - {'old': 'matrix_playbook_reverse_proxy_traefik_middleware_compession_enabled', 'new': 'matrix_playbook_reverse_proxy_traefik_middleware_compression_enabled'}
  63. - {'old': 'matrix_playbook_reverse_proxy_traefik_middleware_compession_name', 'new': 'matrix_playbook_reverse_proxy_traefik_middleware_compression_name'}
  64. - {'old': 'matrix_synapse_account_threepid_delegates_msisdn_mas1sd_url', 'new': '<removed>'}
  65. - {'old': 'cinny_docker_image', 'new': 'cinny_container_image'}
  66. - {'old': 'cinny_docker_image_registry_prefix', 'new': 'cinny_container_image_registry_prefix'}
  67. - {'old': 'cinny_docker_image_registry_prefix_upstream', 'new': 'cinny_container_image_registry_prefix_upstream'}
  68. - {'old': 'cinny_docker_image_registry_prefix_upstream_default', 'new': 'cinny_container_image_registry_prefix_upstream_default'}
  69. - {'old': 'coturn_docker_image', 'new': 'coturn_container_image'}
  70. - {'old': 'coturn_docker_image_registry_prefix', 'new': 'coturn_container_image_registry_prefix'}
  71. - {'old': 'coturn_docker_image_registry_prefix_upstream', 'new': 'coturn_container_image_registry_prefix_upstream'}
  72. - {'old': 'coturn_docker_image_registry_prefix_upstream_default', 'new': 'coturn_container_image_registry_prefix_upstream_default'}
  73. - {'old': 'ddclient_docker_image', 'new': 'ddclient_container_image'}
  74. - {'old': 'ddclient_docker_image_registry_prefix', 'new': 'ddclient_container_image_registry_prefix'}
  75. - {'old': 'ddclient_docker_image_registry_prefix_upstream', 'new': 'ddclient_container_image_registry_prefix_upstream'}
  76. - {'old': 'ddclient_docker_image_registry_prefix_upstream_default', 'new': 'ddclient_container_image_registry_prefix_upstream_default'}
  77. - {'old': 'hydrogen_docker_image', 'new': 'hydrogen_container_image'}
  78. - {'old': 'hydrogen_docker_image_registry_prefix', 'new': 'hydrogen_container_image_registry_prefix'}
  79. - {'old': 'hydrogen_docker_image_registry_prefix_upstream', 'new': 'hydrogen_container_image_registry_prefix_upstream'}
  80. - {'old': 'hydrogen_docker_image_registry_prefix_upstream_default', 'new': 'hydrogen_container_image_registry_prefix_upstream_default'}
  81. - {'old': 'prometheus_nginxlog_exporter_docker_image', 'new': 'prometheus_nginxlog_exporter_container_image'}
  82. - {'old': 'prometheus_nginxlog_exporter_docker_image_registry_prefix', 'new': 'prometheus_nginxlog_exporter_container_image_registry_prefix'}
  83. - {'old': 'prometheus_nginxlog_exporter_docker_image_registry_prefix_upstream', 'new': 'prometheus_nginxlog_exporter_container_image_registry_prefix_upstream'}
  84. - {'old': 'prometheus_nginxlog_exporter_docker_image_registry_prefix_upstream_default', 'new': 'prometheus_nginxlog_exporter_container_image_registry_prefix_upstream_default'}
  85. - {'old': 'prometheus_nginxlog_exporter_docker_image_arch_check_enabled', 'new': 'prometheus_nginxlog_exporter_container_image_arch_check_enabled'}
  86. - {'old': 'prometheus_nginxlog_exporter_metrics_proxying_enabled', 'new': 'prometheus_nginxlog_exporter_container_labels_traefik_enabled'}
  87. - {'old': 'prometheus_nginxlog_exporter_metrics_proxying_hostname', 'new': 'prometheus_nginxlog_exporter_container_labels_traefik_hostname'}
  88. - {'old': 'prometheus_nginxlog_exporter_metrics_proxying_path_prefix', 'new': 'prometheus_nginxlog_exporter_container_labels_traefik_path_prefix'}
  89. - {'old': 'prometheus_nginxlog_exporter_config_namespaces_matrix_source_tags_custom', 'new': 'prometheus_nginxlog_exporter_config_namespaces_source_tags_custom'}
  90. - name: (Deprecation) Catch and report matrix_postgres variables
  91. ansible.builtin.fail:
  92. msg: |-
  93. The matrix-postgres role in the playbook has been replaced with the ansible-role-postgres role (https://github.com/mother-of-all-self-hosting/ansible-role-postgres).
  94. The new role is pretty much the same, but uses differently named variables.
  95. The matrix-postgres-backup role in the playbook has been replaced with the ansible-role-postgres-backup role (https://github.com/mother-of-all-self-hosting/ansible-role-postgres-backup).
  96. The new role is pretty much the same, but uses differently named variables.
  97. Please rename all `matrix_postgres`-prefixed variables (`matrix_postgres_*` -> `postgres_*`) on your configuration file (vars.yml).
  98. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  99. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^matrix_postgres_.+', wantlist=True) | join(', ') }}
  100. when: "lookup('ansible.builtin.varnames', '^matrix_postgres_.+', wantlist=True) | length > 0"
  101. - name: (Deprecation) Catch and report matrix_mailer_ variables
  102. ansible.builtin.fail:
  103. msg: |-
  104. The matrix-mailer role in the playbook has been replaced with the exim-relay role (https://github.com/mother-of-all-self-hosting/ansible-role-exim-relay).
  105. The new role is pretty much the same, but uses differently named variables.
  106. Please rename all `matrix_mailer`-prefixed variables (`matrix_mailer_*` -> `exim_relay_*`) on your configuration file (vars.yml).
  107. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  108. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^matrix_mailer_.+', wantlist=True) | join(', ') }}
  109. when: "lookup('ansible.builtin.varnames', '^matrix_mailer_.+', wantlist=True) | length > 0"
  110. - when: matrix_playbook_migration_matrix_prometheus_nginxlog_exporter_migration_validation_enabled | bool
  111. block:
  112. - ansible.builtin.set_fact:
  113. matrix_playbook_migration_matrix_prometheus_nginxlog_exporter_migration_vars: |-
  114. {{ lookup('ansible.builtin.varnames', '^matrix_prometheus_nginxlog_exporter_.+', wantlist=True) }}
  115. - name: (Deprecation) Catch and report matrix_prometheus_nginxlog_exporter variables
  116. ansible.builtin.fail:
  117. msg: >-
  118. The matrix-prometheus-nginxlog-exporter role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-prometheus-nginxlog-exporter.
  119. The new role is compatible with the old one, but uses different names for its variables.
  120. Please rename all variables (`matrix_prometheus_nginxlog_exporter_` -> `prometheus_nginxlog_exporter_`) on your configuration file (vars.yml).
  121. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  122. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_matrix_prometheus_nginxlog_exporter_migration_vars | join(', ') }}
  123. when: "matrix_playbook_migration_matrix_prometheus_nginxlog_exporter_migration_vars | length > 0"
  124. - when: matrix_playbook_migration_matrix_prometheus_node_exporter_migration_validation_enabled | bool
  125. block:
  126. - ansible.builtin.set_fact:
  127. matrix_playbook_migration_matrix_prometheus_node_exporter_migration_vars: |-
  128. {{ lookup('ansible.builtin.varnames', '^matrix_prometheus_node_exporter_.+', wantlist=True) }}
  129. - name: (Deprecation) Catch and report matrix_prometheus_node_exporter variables
  130. ansible.builtin.fail:
  131. msg: >-
  132. The matrix-prometheus-node-exporter role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-prometheus-node-exporter.
  133. The new role is compatible with the old one, but uses different names for its variables.
  134. Please rename all variables (`matrix_prometheus_node_exporter_` -> `prometheus_node_exporter_`) on your configuration file (vars.yml).
  135. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  136. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_matrix_prometheus_node_exporter_migration_vars | join(', ') }}
  137. when: "matrix_playbook_migration_matrix_prometheus_node_exporter_migration_vars | length > 0"
  138. - when: matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_validation_enabled | bool
  139. block:
  140. - ansible.builtin.set_fact:
  141. matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_vars: |-
  142. {{ lookup('ansible.builtin.varnames', '^matrix_prometheus_postgres_exporter_.+', wantlist=True) }}
  143. - name: (Deprecation) Catch and report matrix_prometheus_postgres_exporter variables
  144. ansible.builtin.fail:
  145. msg: >-
  146. The matrix-prometheus-postgres-exporter role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-prometheus-postgres-exporter.
  147. The new role is compatible with the old one, but uses different names for its variables.
  148. Please rename all variables (`matrix_prometheus_postgres_exporter_` -> `prometheus_postgres_exporter_`) on your configuration file (vars.yml).
  149. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  150. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_vars.keys() | join(', ') }}
  151. when: "matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_vars | length > 0"
  152. - when: matrix_playbook_migration_matrix_backup_borg_migration_validation_enabled | bool
  153. block:
  154. - ansible.builtin.set_fact:
  155. matrix_playbook_migration_backup_borg_migration_vars: |-
  156. {{ lookup('ansible.builtin.varnames', '^matrix_backup_borg_.+', wantlist=True) }}
  157. - name: (Deprecation) Catch and report matrix_backup_borg variables
  158. ansible.builtin.fail:
  159. msg: >-
  160. The matrix-backup-borg role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-backup_borg.
  161. The new role is compatible with the old one, but uses different names for its variables.
  162. Please rename all variables (`matrix_backup_borg_` -> `backup_borg_`) on your configuration file (vars.yml).
  163. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  164. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_backup_borg_migration_vars.keys() | join(', ') }}
  165. when: "matrix_playbook_migration_backup_borg_migration_vars | length > 0"
  166. - when: matrix_playbook_migration_matrix_grafana_migration_validation_enabled | bool
  167. block:
  168. - ansible.builtin.set_fact:
  169. matrix_playbook_migration_grafana_migration_vars: |-
  170. {{ lookup('ansible.builtin.varnames', '^matrix_grafana_.+', wantlist=True) }}
  171. - name: (Deprecation) Catch and report matrix_grafana variables
  172. ansible.builtin.fail:
  173. msg: >-
  174. The matrix-grafana role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-grafana.
  175. The new role is compatible with the old one, but uses different names for its variables.
  176. Please rename all variables (`matrix_grafana_` -> `grafana_`) on your configuration file (vars.yml).
  177. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  178. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_grafana_migration_vars.keys() | join(', ') }}
  179. when: "matrix_playbook_migration_grafana_migration_vars | length > 0"
  180. - when: matrix_playbook_migration_matrix_ntfy_migration_validation_enabled | bool
  181. block:
  182. - ansible.builtin.set_fact:
  183. matrix_playbook_migration_ntfy_migration_vars: |-
  184. {{ lookup('ansible.builtin.varnames', '^matrix_ntfy_.+', wantlist=True) }}
  185. - name: (Deprecation) Catch and report matrix_ntfy variables
  186. ansible.builtin.fail:
  187. msg: >-
  188. The matrix-ntfy role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-ntfy.
  189. The new role is compatible with the old one, but uses different names for its variables.
  190. Please rename all variables (`matrix_ntfy_` -> `ntfy_`) on your configuration file (vars.yml).
  191. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  192. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_ntfy_migration_vars.keys() | join(', ') }}
  193. when: "matrix_playbook_migration_ntfy_migration_vars | length > 0"
  194. - when: matrix_playbook_migration_matrix_redis_migration_validation_enabled | bool
  195. block:
  196. - ansible.builtin.set_fact:
  197. matrix_playbook_migration_redis_migration_vars: |-
  198. {{ lookup('ansible.builtin.varnames', '^matrix_redis_.+', wantlist=True) }}
  199. - name: (Deprecation) Catch and report matrix_redis variables
  200. ansible.builtin.fail:
  201. msg: >-
  202. The matrix-redis role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-redis.
  203. The new role is compatible with the old one, but uses different names for its variables.
  204. Please rename all variables (`matrix_redis_` -> `redis_`) on your configuration file (vars.yml).
  205. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  206. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_redis_migration_vars.keys() | join(', ') }}
  207. when: "matrix_playbook_migration_redis_migration_vars | length > 0"
  208. - when: matrix_playbook_migration_redis_valkey_migration_validation_enabled | bool
  209. block:
  210. - ansible.builtin.set_fact:
  211. matrix_playbook_migration_redis_migration_vars: |-
  212. {{ lookup('ansible.builtin.varnames', '^redis_.+', wantlist=True) }}
  213. - name: (Deprecation) Catch and report matrix_redis variables
  214. ansible.builtin.fail:
  215. msg: >-
  216. The Redis role that used to be part of this playbook has been superseded by https://github.com/mother-of-all-self-hosting/ansible-role-valkey.
  217. Please rename all variables (`redis_` -> `valkey_`) on your configuration file (vars.yml).
  218. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  219. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_redis_migration_vars.keys() | join(', ') }}
  220. when: "matrix_playbook_migration_redis_migration_vars | length > 0"
  221. - when: matrix_playbook_migration_keydb_valkey_migration_validation_enabled | bool
  222. block:
  223. - ansible.builtin.set_fact:
  224. matrix_playbook_migration_keydb_migration_vars: |-
  225. {{ lookup('ansible.builtin.varnames', '^keydb_.+', wantlist=True) }}
  226. - name: (Deprecation) Catch and report matrix_redis variables
  227. ansible.builtin.fail:
  228. msg: >-
  229. The KeyDB role that used to be part of this playbook has been superseded by https://github.com/mother-of-all-self-hosting/ansible-role-valkey.
  230. Please rename all variables (`keydb_` -> `valkey_`) on your configuration file (vars.yml).
  231. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  232. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_keydb_migration_vars.keys() | join(', ') }}
  233. when: "matrix_playbook_migration_keydb_migration_vars | length > 0"
  234. - when: matrix_playbook_migration_matrix_etherpad_migration_validation_enabled | bool
  235. block:
  236. - ansible.builtin.set_fact:
  237. matrix_playbook_migration_etherpad_migration_vars: |-
  238. {{ lookup('ansible.builtin.varnames', '^matrix_etherpad_.+', wantlist=True) }}
  239. - name: (Deprecation) Catch and report matrix_etherpad variables
  240. ansible.builtin.fail:
  241. msg: >-
  242. The matrix-etherpad role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-etherpad.
  243. The new role is compatible with the old one, but uses different names for its variables.
  244. Please rename all variables (`matrix_etherpad_` -> `etherpad_`) on your configuration file (vars.yml).
  245. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  246. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_etherpad_migration_vars.keys() | join(', ') }}
  247. when: "matrix_playbook_migration_etherpad_migration_vars | length > 0"
  248. - when: matrix_playbook_migration_matrix_aux_migration_validation_enabled | bool
  249. block:
  250. - ansible.builtin.set_fact:
  251. matrix_playbook_migration_aux_migration_vars: |-
  252. {{ lookup('ansible.builtin.varnames', '^matrix_aux_.+', wantlist=True) }}
  253. - name: (Deprecation) Catch and report matrix_aux variables
  254. ansible.builtin.fail:
  255. msg: >-
  256. The matrix-aux role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-aux.
  257. The new role is compatible with the old one, but uses different names for its variables.
  258. Please rename all variables (`matrix_aux_` -> `aux_`) on your configuration file (vars.yml).
  259. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  260. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_aux_migration_vars.keys() | join(', ') }}
  261. when: "matrix_playbook_migration_aux_migration_vars | length > 0"
  262. - when: matrix_playbook_migration_matrix_jitsi_migration_validation_enabled | bool
  263. block:
  264. - ansible.builtin.set_fact:
  265. matrix_playbook_migration_jitsi_migration_vars: |-
  266. {{ lookup('ansible.builtin.varnames', '^matrix_jitsi_.+', wantlist=True) }}
  267. - name: (Deprecation) Catch and report matrix_jitsi variables
  268. ansible.builtin.fail:
  269. msg: >-
  270. The matrix-jitsi role that used to be part of this playbook has been replaced by https://github.com/mother-of-all-self-hosting/ansible-role-jitsi.
  271. The new role is compatible with the old one, but uses different names for its variables.
  272. Please rename all variables (`matrix_jitsi_` -> `jitsi_`) on your configuration file (vars.yml).
  273. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  274. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_jitsi_migration_vars.keys() | join(', ') }}
  275. when: "matrix_playbook_migration_jitsi_migration_vars | length > 0"
  276. - when: matrix_playbook_migration_matrix_postmoogle_migration_validation_enabled | bool
  277. block:
  278. - ansible.builtin.set_fact:
  279. matrix_playbook_migration_postmoogle_migration_vars: |-
  280. {{ lookup('ansible.builtin.varnames', '^matrix_bot_postmoogle_.+', wantlist=True) }}
  281. - name: (Deprecation) Catch and report matrix_bot_postmoogle variables
  282. ansible.builtin.fail:
  283. msg: >-
  284. Your configuration contains a variable, which now has a different name.
  285. Please rename all variables (`matrix_bot_postmoogle_` -> `matrix_postmoogle_`) on your configuration file (vars.yml).
  286. The following variables in your configuration need to be renamed: {{ matrix_playbook_migration_postmoogle_migration_vars.keys() | join(', ') }}
  287. when: "matrix_playbook_migration_postmoogle_migration_vars | length > 0"
  288. - when: matrix_playbook_migration_matrix_nginx_proxy_elimination_variable_transition_checks_enabled | bool
  289. block:
  290. - name: (Deprecation) Catch and report transitioned playbook settings during the matrix-nginx-proxy elimination
  291. ansible.builtin.fail:
  292. msg: >-
  293. Your configuration contains a variable, which now has a different name.
  294. Please rename the variable (`{{ item.old }}` -> `{{ item.new }}`) on your configuration file (vars.yml).
  295. when: "lookup('ansible.builtin.varnames', ('^' + item.old + '$'), wantlist=True) | length > 0"
  296. with_items:
  297. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_enabled', 'new': 'matrix_metrics_exposure_enabled'}
  298. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_enabled', 'new': 'matrix_metrics_exposure_http_basic_auth_enabled'}
  299. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_username', 'new': '<superseded by matrix_metrics_exposure_http_basic_auth_users>'}
  300. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_password', 'new': '<superseded by matrix_metrics_exposure_http_basic_auth_users>'}
  301. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_raw_content', 'new': '<superseded by matrix_metrics_exposure_http_basic_auth_users>'}
  302. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_additional_location_configuration_blocks', 'new': '<superseded by adding labels to each individual service that you care about>'}
  303. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_additional_system_location_configuration_blocks', 'new': '<superseded by adding labels to each individual service that you care about>'}
  304. - {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_additional_user_location_configuration_blocks', 'new': '<superseded by adding labels to each individual service that you care about>'}
  305. - {'old': 'matrix_well_known_matrix_server_enabled', 'new': 'matrix_static_files_file_matrix_server_enabled'}
  306. - {'old': 'matrix_well_known_matrix_support_enabled', 'new': 'matrix_static_files_file_matrix_support_enabled'}
  307. - {'old': 'matrix_homeserver_admin_contacts', 'new': 'matrix_static_files_file_matrix_support_property_m_contacts'}
  308. - {'old': 'matrix_homeserver_support_url', 'new': 'matrix_static_files_file_matrix_support_property_m_support_page'}
  309. - {'old': 'matrix_well_known_matrix_client_io_element_e2ee_default', 'new': 'matrix_static_files_file_matrix_client_property_io_element_e2ee_default'}
  310. - {'old': 'matrix_well_known_matrix_client_io_element_e2ee_secure_backup_required', 'new': 'matrix_static_files_file_matrix_client_property_io_element_e2ee_secure_backup_required'}
  311. - {'old': 'matrix_well_known_matrix_client_io_element_e2ee_secure_backup_setup_methods', 'new': 'matrix_static_files_file_matrix_client_property_io_element_e2ee_secure_backup_setup_methods'}
  312. - {'old': 'matrix_well_known_matrix_client_configuration_extension_json', 'new': 'matrix_static_files_file_matrix_client_configuration_extension_json'}
  313. - {'old': 'matrix_well_known_matrix_server_configuration_extension_json', 'new': 'matrix_static_files_file_matrix_server_configuration_extension_json'}
  314. - {'old': 'matrix_well_known_matrix_support_configuration_extension_json', 'new': 'matrix_static_files_file_matrix_support_configuration_extension_json'}
  315. - {'old': 'matrix_nginx_proxy_self_check_validate_certificates', 'new': 'matrix_static_files_self_check_validate_certificates'}
  316. - {'old': 'matrix_nginx_proxy_self_check_well_known_matrix_client_follow_redirects', 'new': 'matrix_static_files_self_check_well_known_matrix_client_follow_redirects'}
  317. - {'old': 'matrix_nginx_proxy_base_domain_serving_enabled', 'new': 'matrix_static_files_container_labels_base_domain_enabled'}
  318. - {'old': 'matrix_nginx_proxy_base_domain_hostname', 'new': 'matrix_static_files_container_labels_base_domain_traefik_hostname'}
  319. - {'old': 'matrix_nginx_proxy_base_domain_homepage_enabled', 'new': 'matrix_static_files_file_index_html_enabled'}
  320. - {'old': 'matrix_nginx_proxy_base_domain_homepage_template', 'new': 'matrix_static_files_file_index_html_template'}
  321. - {'old': 'matrix_nginx_proxy_base_domain_create_directory', 'new': '<no longer necessary; see matrix_static_files_file_index_html_enabled>'}
  322. - {'old': 'matrix_nginx_proxy_proxy_riot_compat_redirect_enabled', 'new': '<redirecting the Riot domain to an Element domain is no longer supported - you can implement it yourself using matrix_client_element_container_labels_additional_labels>'}
  323. - {'old': 'matrix_nginx_proxy_proxy_riot_compat_redirect_hostname', 'new': '<redirecting the Riot domain to an Element domain is no longer supported - you can implement it yourself using matrix_client_element_container_labels_additional_labels>'}
  324. - {'old': 'matrix_nginx_proxy_proxy_matrix_client_redirect_enabled', 'new': '<superseded by matrix_synapse_container_labels_public_client_root_redirection_enabled or other equivalent variables based on the homeserver implementation you use>'}
  325. - {'old': 'matrix_nginx_proxy_proxy_matrix_client_redirect_root_uri_to_domain', 'new': '<superseded by matrix_synapse_container_labels_public_client_root_redirection_url or other equivalent variables based on the homeserver implementation you use>'}
  326. - {'old': 'matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_client_api_enabled', 'new': 'matrix_synapse_container_labels_public_client_synapse_client_api_enabled'}
  327. - {'old': 'matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_oidc_api_enabled', 'new': '<replaced by matrix_synapse_container_labels_public_client_synapse_oidc_api_enabled, but if you use matrix_synapse_oidc_enabled then it would be toggled automatically; see the new recommended OIDC example configuration in docs/configuring-playbook-synapse.md>'}
  328. - {'old': 'matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_admin_api_enabled', 'new': 'matrix_synapse_container_labels_public_client_synapse_admin_api_enabled'}
  329. - {'old': 'matrix_nginx_proxy_proxy_matrix_identity_api_enabled', 'new': '<removed>'}
  330. - {'old': 'matrix_nginx_proxy_proxy_matrix_identity_api_addr_with_container', 'new': '<removed>'}
  331. - {'old': 'matrix_nginx_proxy_proxy_matrix_identity_api_addr_sans_container', 'new': '<removed>'}
  332. - {'old': 'matrix_nginx_proxy_proxy_matrix_user_directory_search_enabled', 'new': '<removed>'}
  333. - {'old': 'matrix_nginx_proxy_proxy_matrix_user_directory_search_addr_with_container', 'new': '<removed>'}
  334. - {'old': 'matrix_nginx_proxy_proxy_matrix_user_directory_search_addr_sans_container', 'new': '<removed>'}
  335. - {'old': 'matrix_nginx_proxy_proxy_matrix_user_directory_search_v3_to_r0_redirect_enabled', 'new': '<removed>'}
  336. - {'old': 'matrix_nginx_proxy_proxy_matrix_3pid_registration_enabled', 'new': '<removed>'}
  337. - {'old': 'matrix_nginx_proxy_proxy_matrix_3pid_registration_addr_with_container', 'new': '<removed>'}
  338. - {'old': 'matrix_nginx_proxy_proxy_matrix_3pid_registration_addr_sans_container', 'new': '<removed>'}
  339. - {'old': 'matrix_nginx_proxy_proxy_matrix_3pid_registration_v3_to_r0_redirect_enabled', 'new': '<removed>'}
  340. - {'old': 'matrix_nginx_proxy_proxy_conduit_enabled', 'new': 'matrix_conduit_container_labels_traefik_enabled'}
  341. - {'old': 'matrix_nginx_proxy_proxy_conduit_block_federation_api_on_client_port', 'new': '<not supported anymore - the /_matrix/federation endpoints are now also being served on the Client-Server API port>'}
  342. - {'old': 'matrix_nginx_proxy_proxy_conduit_federation_api_enabled', 'new': 'matrix_conduit_container_labels_public_federation_api_enabled'}
  343. - {'old': 'matrix_nginx_proxy_proxy_conduit_client_api_addr_with_container', 'new': '<removed>'}
  344. - {'old': 'matrix_nginx_proxy_proxy_conduit_client_api_addr_sans_container', 'new': '<removed>'}
  345. - {'old': 'matrix_nginx_proxy_proxy_conduit_federation_api_addr_with_container', 'new': '<removed>'}
  346. - {'old': 'matrix_nginx_proxy_proxy_conduit_federation_api_addr_sans_container', 'new': '<removed>'}
  347. - {'old': 'matrix_nginx_proxy_proxy_conduit_additional_server_configuration_blocks', 'new': '<removed>'}
  348. - {'old': 'matrix_nginx_proxy_proxy_dendrite_enabled', 'new': 'matrix_dendrite_container_labels_traefik_enabled'}
  349. - {'old': 'matrix_nginx_proxy_proxy_dendrite_block_federation_api_on_client_port', 'new': '<not supported anymore - the /_matrix/federation endpoints are now also being served on the Client-Server API port>'}
  350. - {'old': 'matrix_nginx_proxy_proxy_dendrite_federation_api_enabled', 'new': 'matrix_dendrite_container_labels_public_federation_api_enabled'}
  351. - {'old': 'matrix_nginx_proxy_proxy_dendrite_client_api_addr_with_container', 'new': '<removed>'}
  352. - {'old': 'matrix_nginx_proxy_proxy_dendrite_client_api_addr_sans_container', 'new': '<removed>'}
  353. - {'old': 'matrix_nginx_proxy_proxy_dendrite_federation_api_addr_with_container', 'new': '<removed>'}
  354. - {'old': 'matrix_nginx_proxy_proxy_dendrite_federation_api_addr_sans_container', 'new': '<removed>'}
  355. - {'old': 'matrix_nginx_proxy_proxy_dendrite_additional_server_configuration_blocks', 'new': '<removed>'}
  356. - {'old': 'matrix_nginx_proxy_proxy_synapse_enabled', 'new': 'matrix_synapse_container_labels_traefik_enabled'}
  357. - {'old': 'matrix_nginx_proxy_proxy_synapse_federation_api_enabled', 'new': 'matrix_synapse_container_labels_public_federation_api_enabled'}
  358. - {'old': 'matrix_nginx_proxy_proxy_synapse_client_api_addr_with_container', 'new': '<removed>'}
  359. - {'old': 'matrix_nginx_proxy_proxy_synapse_client_api_addr_sans_container', 'new': '<removed>'}
  360. - {'old': 'matrix_nginx_proxy_proxy_synapse_federation_api_addr_with_container', 'new': '<removed>'}
  361. - {'old': 'matrix_nginx_proxy_proxy_synapse_federation_api_addr_sans_container', 'new': '<removed>'}
  362. - {'old': 'matrix_nginx_proxy_proxy_synapse_additional_server_configuration_blocks', 'new': '<removed>'}
  363. - {'old': 'matrix_nginx_proxy_proxy_matrix_additional_server_configuration_blocks', 'new': '<removed>'}
  364. - {'old': 'matrix_nginx_proxy_access_log_enabled', 'new': 'traefik_config_accessLog_enabled'}
  365. - {'old': 'matrix_nginx_proxy_container_labels_traefik_proxy_matrix_federation_hostname', 'new': 'matrix_server_fqn_matrix_federation'}
  366. - {'old': 'etherpad_nginx_proxy_dimension_integration_enabled', 'new': '<removed>'}
  367. - {'old': 'etherpad_nginx_proxy_dimension_integration_path_prefix', 'new': '<removed>'}
  368. - {'old': 'matrix_prometheus_services_proxy_connect_prometheus_node_exporter_metrics_proxying_enabled', 'new': '<removed>'}
  369. - {'old': 'matrix_prometheus_services_proxy_connect_prometheus_node_exporter_matrix_nginx_proxy_not_enabled_proxy_pass_host', 'new': '<removed>'}
  370. - {'old': 'matrix_prometheus_services_proxy_connect_prometheus_postgres_exporter_metrics_proxying_enabled', 'new': '<removed>'}
  371. - {'old': 'matrix_prometheus_services_proxy_connect_prometheus_postgres_exporter_matrix_nginx_proxy_not_enabled_proxy_pass_host', 'new': '<removed>'}
  372. - {'old': 'matrix_docker_network', 'new': '<removed in favor of various other variables - matrix_addons_container_network, matrix_monitoring_container_network, matrix_homeserver_container_network, etc.>'}
  373. - {'old': 'matrix_playbook_ssl_retrieval_method', 'new': '<removed; see docs/configuring-playbook-ssl-certificates.md for alternatives>'}
  374. - {'old': 'matrix_ssl_lets_encrypt_support_email', 'new': 'traefik_config_certificatesResolvers_acme_email'}
  375. - {'old': 'matrix_federation_traefik_entrypoint', 'new': 'matrix_federation_traefik_entrypoint_name'}
  376. - when: matrix_playbook_migration_matrix_nginx_proxy_leftover_variable_validation_checks_enabled | bool
  377. block:
  378. - ansible.builtin.set_fact:
  379. matrix_playbook_migration_nginx_proxy_migration_vars: |-
  380. {{ lookup('ansible.builtin.varnames', '^matrix_nginx_proxy_.+', wantlist=True) }}
  381. - name: (Deprecation) Catch and report leftover matrix_nginx_proxy variables
  382. ansible.builtin.fail:
  383. msg: >-
  384. The matrix-nginx-proxy role that used to be part of this playbook has been removed.
  385. You should remove all its variables (`matrix_nginx_proxy_*`) from your configuration file (vars.yml).
  386. The following variables in your configuration should be renamed: {{ matrix_playbook_migration_nginx_proxy_migration_vars.keys() | join(', ') }}
  387. when: "matrix_playbook_migration_nginx_proxy_migration_vars | length > 0"
  388. - when: matrix_playbook_migration_matrix_ssl_leftover_variable_checks_enabled | bool
  389. block:
  390. - ansible.builtin.set_fact:
  391. matrix_playbook_migration_ssl_migration_vars: |-
  392. {{ lookup('ansible.builtin.varnames', '^matrix_ssl_.+', wantlist=True) }}
  393. - name: (Deprecation) Catch and report matrix_ssl variables
  394. ansible.builtin.fail:
  395. msg: >-
  396. The matrix-nginx-proxy role that used to be part of this playbook has been removed.
  397. You should remove all its variables (`matrix_ssl_*`) from your configuration file (vars.yml).
  398. The following variables in your configuration should be renamed: {{ matrix_playbook_migration_ssl_migration_vars.keys() | join(', ') }}
  399. when: "matrix_playbook_migration_ssl_migration_vars | length > 0"
  400. - block:
  401. - ansible.builtin.set_fact:
  402. matrix_playbook_migration_matrix_synapse_container_labels_public_client_synapse_oidc_vars: |-
  403. {{ lookup('ansible.builtin.varnames', '^matrix_synapse_container_labels_public_client_synapse_oidc_.+', wantlist=True) }}
  404. - name: (Deprecation) Catch and report matrix_ssl variables
  405. ansible.builtin.fail:
  406. msg: >-
  407. We found usage of the following variables which are now removed: {{ matrix_playbook_migration_matrix_synapse_container_labels_public_client_synapse_oidc_vars.keys() | join(', ') }}
  408. when: "matrix_playbook_migration_matrix_synapse_container_labels_public_client_synapse_oidc_vars | length > 0"
  409. - block:
  410. - ansible.builtin.set_fact:
  411. matrix_playbook_migration_matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_vars: |-
  412. {{ lookup('ansible.builtin.varnames', '^matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_.+', wantlist=True) }}
  413. - name: (Deprecation) Catch and report matrix_ssl variables
  414. ansible.builtin.fail:
  415. msg: >-
  416. We found usage of the following variables which are now removed: {{ matrix_playbook_migration_matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_vars.keys() | join(', ') }}
  417. when: "matrix_playbook_migration_matrix_synapse_reverse_proxy_companion_container_labels_public_client_synapse_oidc_vars | length > 0"
  418. - name: (Deprecation) Catch and report devture_postgres_backup variables
  419. ansible.builtin.fail:
  420. msg: |-
  421. The postgres-backup role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-postgres-backup).
  422. The new role is pretty much the same, but uses differently named variables.
  423. Please rename all `devture_postgres_backup_`-prefixed variables (`devture_postgres_backup_*` -> `postgres_backup_*`) on your configuration file (vars.yml).
  424. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  425. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^devture_postgres_backup_.+', wantlist=True) | join(', ') }}
  426. when: "lookup('ansible.builtin.varnames', '^devture_postgres_backup_.+', wantlist=True) | length > 0"
  427. - name: (Deprecation) Catch and report devture_postgres variables
  428. ansible.builtin.fail:
  429. msg: |-
  430. The Postgres role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-postgres).
  431. The new role is pretty much the same, but uses differently named variables.
  432. Please rename all `devture_postgres_`-prefixed variables (`devture_postgres_*` -> `postgres_*`) on your configuration file (vars.yml).
  433. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  434. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^devture_postgres_.+', wantlist=True) | join(', ') }}
  435. when: "lookup('ansible.builtin.varnames', '^devture_postgres_.+', wantlist=True) | length > 0"
  436. - name: (Deprecation) Catch and report traefik_certs_dumper variables
  437. ansible.builtin.fail:
  438. msg: |-
  439. The traefik-certs-dumper role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-traefik-certs-dumper).
  440. The new role is pretty much the same, but uses differently named variables.
  441. Please rename all `devture_traefik_certs_dumper_`-prefixed variables (`devture_traefik_certs_dumper_*` -> `traefik_certs_dumper_*`) on your configuration file (vars.yml).
  442. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  443. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^devture_traefik_certs_dumper_.+', wantlist=True) | join(', ') }}
  444. when: "lookup('ansible.builtin.varnames', '^devture_traefik_certs_dumper_.+', wantlist=True) | length > 0"
  445. - name: (Deprecation) Catch and report devture_traefik variables
  446. ansible.builtin.fail:
  447. msg: |-
  448. The traefik role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-traefik).
  449. The new role is pretty much the same, but uses differently named variables.
  450. Please rename all `devture_traefik_`-prefixed variables (`devture_traefik_*` -> `traefik_*`) on your configuration file (vars.yml).
  451. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  452. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^devture_traefik_.+', wantlist=True) | join(', ') }}
  453. when: "lookup('ansible.builtin.varnames', '^devture_traefik_.+', wantlist=True) | length > 0"
  454. - name: (Deprecation) Catch and report devture_container_socket_proxy variables
  455. ansible.builtin.fail:
  456. msg: |-
  457. The container-socket-proxy role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-container-socket-proxy).
  458. The new role is pretty much the same, but uses differently named variables.
  459. Please rename all `devture_container_socket_proxy_`-prefixed variables (`devture_container_socket_proxy_*` -> `container_socket_proxy_*`) on your configuration file (vars.yml).
  460. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  461. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^devture_container_socket_proxy_.+', wantlist=True) | join(', ') }}
  462. when: "lookup('ansible.builtin.varnames', '^devture_container_socket_proxy_.+', wantlist=True) | length > 0"
  463. - name: (Deprecation) Catch and report ma1sd variables
  464. ansible.builtin.fail:
  465. msg: |-
  466. ma1sd was completely removed from the playbook in February 2026.
  467. Please remove all `matrix_ma1sd_*` variables from your configuration file (vars.yml).
  468. You may also wish to uninstall the component manually. See `docs/configuring-playbook-ma1sd.md` for more information.
  469. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_ma1sd_.+', wantlist=True) | join(', ') }}
  470. when: "lookup('ansible.builtin.varnames', '^matrix_ma1sd_.+', wantlist=True) | length > 0"
  471. - name: (Deprecation) Catch and report matrix-appservice-slack variables
  472. ansible.builtin.fail:
  473. msg: |-
  474. matrix-appservice-slack was completely removed from the playbook in February 2026.
  475. Please remove all `matrix_appservice_slack_*` variables from your configuration file (vars.yml).
  476. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-appservice-slack.md` for more information.
  477. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_appservice_slack_.+', wantlist=True) | join(', ') }}
  478. You might probably wish to have a look at mautrix-slack, another bridge to Slack. Refer to `docs/configuring-playbook-bridge-mautrix-slack.md` for more information.
  479. when: "lookup('ansible.builtin.varnames', '^matrix_appservice_slack_.+', wantlist=True) | length > 0"
  480. - name: (Deprecation) Catch and report matrix-appservice-webhooks variables
  481. ansible.builtin.fail:
  482. msg: |-
  483. matrix-appservice-webhooks was completely removed from the playbook in November 2025.
  484. Please remove all `matrix_appservice_webhooks_*` variables from your configuration file (vars.yml).
  485. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-appservice-webhooks.md` for more information.
  486. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_appservice_webhooks_.+', wantlist=True) | join(', ') }}
  487. when: "lookup('ansible.builtin.varnames', '^matrix_appservice_webhooks_.+', wantlist=True) | length > 0"
  488. - name: (Deprecation) Catch and report matrix-chatgpt-bot variables
  489. ansible.builtin.fail:
  490. msg: |-
  491. matrix-chatgpt-bot was completely removed from the playbook in November 2025.
  492. Please remove all `matrix_bot_chatgpt_*` variables from your configuration file (vars.yml).
  493. You may also wish to uninstall the bot manually. See `docs/configuring-playbook-bot-chatgpt.md` for more information.
  494. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_bot_chatgpt_.+', wantlist=True) | join(', ') }}
  495. when: "lookup('ansible.builtin.varnames', '^matrix_bot_chatgpt_.+', wantlist=True) | length > 0"
  496. - name: (Deprecation) Catch and report matrix-client-cinny variables
  497. ansible.builtin.fail:
  498. msg: |-
  499. The matrix-client-cinny role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-cinny).
  500. The new role is pretty much the same, but uses differently named variables.
  501. Please rename all `matrix_client_cinny_`-prefixed variables (`matrix_client_cinny_*` -> `cinny_*`) on your configuration file (vars.yml).
  502. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  503. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^matrix_client_cinny_.+', wantlist=True) | join(', ') }}
  504. when: "lookup('ansible.builtin.varnames', '^matrix_client_cinny_.+', wantlist=True) | length > 0"
  505. - name: (Deprecation) Catch and report matrix-client-hydrogen variables
  506. ansible.builtin.fail:
  507. msg: |-
  508. The matrix-client-hydrogen role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-hydrogen).
  509. The new role is pretty much the same, but uses differently named variables.
  510. Please rename all `matrix_client_hydrogen_`-prefixed variables (`matrix_client_hydrogen_*` -> `hydrogen_*`) on your configuration file (vars.yml).
  511. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  512. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^matrix_client_hydrogen_.+', wantlist=True) | join(', ') }}
  513. when: "lookup('ansible.builtin.varnames', '^matrix_client_hydrogen_.+', wantlist=True) | length > 0"
  514. - name: (Deprecation) Catch and report matrix-coturn variables
  515. ansible.builtin.fail:
  516. msg: |-
  517. The matrix-coturn role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-coturn).
  518. The new role is pretty much the same, but uses differently named variables.
  519. Please rename all `matrix_coturn_`-prefixed variables (`matrix_coturn_*` -> `coturn_*`) on your configuration file (vars.yml).
  520. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  521. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^matrix_coturn_.+', wantlist=True) | join(', ') }}
  522. when: "lookup('ansible.builtin.varnames', '^matrix_coturn_.+', wantlist=True) | length > 0"
  523. - name: (Deprecation) Catch and report matrix-conduwuit variables
  524. ansible.builtin.fail:
  525. msg: |-
  526. matrix-conduwuit was completely removed from the playbook in February 2026.
  527. Please remove all `matrix_conduwuit*` variables from your configuration file (vars.yml).
  528. You may wish to migrate to Continuwuity, a drop-in replacement for conduwuit. See `docs/configuring-playbook-continuwuity.md` for more information.
  529. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_conduwuit.+', wantlist=True) | join(', ') }}
  530. when: "lookup('ansible.builtin.varnames', '^matrix_conduwuit.+', wantlist=True) | length > 0"
  531. - name: (Deprecation) Catch and report matrix-dynamic-dns variables
  532. ansible.builtin.fail:
  533. msg: |-
  534. The matrix-dynamic-dns role in the playbook now lives under the MASH organization (https://github.com/mother-of-all-self-hosting/ansible-role-ddclient).
  535. The new role is pretty much the same, but uses differently named variables.
  536. Please rename all `matrix_dynamic_dns_`-prefixed variables (`matrix_dynamic_dns_*` -> `ddclient_*`) on your configuration file (vars.yml).
  537. After renaming them, please do not forget to fetch the Ansible role. See docs/maintenance-upgrading-services.md for details about how to do so.
  538. The following variables in your configuration need to be renamed: {{ lookup('ansible.builtin.varnames', '^matrix_dynamic_dns_.+', wantlist=True) | join(', ') }}
  539. when: "lookup('ansible.builtin.varnames', '^matrix_dynamic_dns_.+', wantlist=True) | length > 0"
  540. - name: (Deprecation) Catch and report mautrix-facebook variables
  541. ansible.builtin.fail:
  542. msg: |-
  543. mautrix-facebook was completely removed from the playbook in November 2025.
  544. Please remove all `matrix_mautrix_facebook_*` variables from your configuration file (vars.yml).
  545. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-mautrix-facebook.md` for more information.
  546. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_mautrix_facebook_.+', wantlist=True) | join(', ') }}
  547. when: "lookup('ansible.builtin.varnames', '^matrix_mautrix_facebook_.+', wantlist=True) | length > 0"
  548. - name: (Deprecation) Catch and report mautrix-hangouts variables
  549. ansible.builtin.fail:
  550. msg: |-
  551. The Google Hangouts service was discontinued on 1st of November 2022.
  552. The mautrix-hangouts bridge has been deprecated in the playbook since December 2024 and was completely removed from the playbook in February 2025.
  553. Please remove all `matrix_mautrix_hangouts_*` variables from your configuration file (vars.yml).
  554. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-mautrix-hangouts.md` for more information.
  555. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_mautrix_hangouts_.+', wantlist=True) | join(', ') }}
  556. when: "lookup('ansible.builtin.varnames', '^matrix_mautrix_hangouts_.+', wantlist=True) | length > 0"
  557. - name: (Deprecation) Catch and report mautrix-instagram variables
  558. ansible.builtin.fail:
  559. msg: |-
  560. mautrix-instagram was completely removed from the playbook in November 2025.
  561. Please remove all `matrix_mautrix_instagram_*` variables from your configuration file (vars.yml).
  562. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-mautrix-instagram.md` for more information.
  563. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_mautrix_instagram_.+', wantlist=True) | join(', ') }}
  564. when: "lookup('ansible.builtin.varnames', '^matrix_mautrix_instagram_.+', wantlist=True) | length > 0"
  565. - name: (Deprecation) Catch and report mx-puppet-discord variables
  566. ansible.builtin.fail:
  567. msg: |-
  568. The MX Puppet Discord bridge was completely removed from the playbook in November 2025.
  569. Please remove all `matrix_mx_puppet_discord_*` variables from your configuration file (vars.yml).
  570. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-mx-puppet-discord.md` for more information.
  571. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_mx_puppet_discord_.+', wantlist=True) | join(', ') }}
  572. when: "lookup('ansible.builtin.varnames', '^matrix_mx_puppet_discord_.+', wantlist=True) | length > 0"
  573. - name: (Deprecation) Catch and report mx-puppet-instagram variables
  574. ansible.builtin.fail:
  575. msg: |-
  576. The MX Puppet Instagram bridge was completely removed from the playbook in November 2025.
  577. Please remove all `matrix_mx_puppet_instagram_*` variables from your configuration file (vars.yml).
  578. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-mx-puppet-instagram.md` for more information.
  579. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_mx_puppet_instagram_.+', wantlist=True) | join(', ') }}
  580. when: "lookup('ansible.builtin.varnames', '^matrix_mx_puppet_instagram_.+', wantlist=True) | length > 0"
  581. - name: (Deprecation) Catch and report mx-puppet-slack variables
  582. ansible.builtin.fail:
  583. msg: |-
  584. The MX Puppet Slack bridge was completely removed from the playbook in November 2025.
  585. Please remove all `matrix_mx_puppet_slack_*` variables from your configuration file (vars.yml).
  586. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-mx-puppet-slack.md` for more information.
  587. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_mx_puppet_slack_.+', wantlist=True) | join(', ') }}
  588. when: "lookup('ansible.builtin.varnames', '^matrix_mx_puppet_slack_.+', wantlist=True) | length > 0"
  589. - name: (Deprecation) Catch and report mx-puppet-twitter variables
  590. ansible.builtin.fail:
  591. msg: |-
  592. The MX Puppet Twitter bridge was completely removed from the playbook in November 2025.
  593. Please remove all `matrix_mx_puppet_twitter_*` variables from your configuration file (vars.yml).
  594. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-mx-puppet-twitter.md` for more information.
  595. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_mx_puppet_twitter_.+', wantlist=True) | join(', ') }}
  596. when: "lookup('ansible.builtin.varnames', '^matrix_mx_puppet_twitter_.+', wantlist=True) | length > 0"
  597. - name: (Deprecation) Catch and report the Dimension integration manager variables
  598. ansible.builtin.fail:
  599. msg: |-
  600. The Dimension integration manager was completely removed from the playbook in February 2026.
  601. Please remove all `matrix_dimension_*` variables from your configuration file (vars.yml).
  602. You may also wish to uninstall the component manually. See `docs/configuring-playbook-dimension.md` for more information.
  603. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_dimension_.+', wantlist=True) | join(', ') }}
  604. when: "lookup('ansible.builtin.varnames', '^matrix_dimension_.+', wantlist=True) | length > 0"
  605. - name: (Deprecation) Catch and report Email2Matrix variables
  606. ansible.builtin.fail:
  607. msg: |-
  608. The Email2Matrix service has been superseded by the Postmoogle bridge for a long time now and was completely removed from the playbook in February 2025.
  609. Please remove all `matrix_email2matrix_*` variables from your configuration file (vars.yml).
  610. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-email2matrix.md` for more information.
  611. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_email2matrix_.+', wantlist=True) | join(', ') }}
  612. when: "lookup('ansible.builtin.varnames', '^matrix_email2matrix_.+', wantlist=True) | length > 0"
  613. - name: (Deprecation) Catch and report go-skype-bridge variables
  614. ansible.builtin.fail:
  615. msg: |-
  616. The go-skype-bridge was completely removed from the playbook in November 2025, as Skype has been discontinued since May 2025.
  617. Please remove all `matrix_go_skype_bridge_*` variables from your configuration file (vars.yml).
  618. You may also wish to uninstall the bridge manually. See `docs/configuring-playbook-bridge-go-skype-bridge.md` for more information.
  619. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_go_skype_bridge_.+', wantlist=True) | join(', ') }}
  620. when: "lookup('ansible.builtin.varnames', '^matrix_go_skype_bridge_.+', wantlist=True) | length > 0"
  621. - name: (Deprecation) Catch and report the Sliding Sync proxy variables
  622. ansible.builtin.fail:
  623. msg: |-
  624. The Sliding Sync proxy was completely removed from the playbook in November 2025.
  625. Please remove all `matrix_sliding_sync_*` variables from your configuration file (vars.yml).
  626. You may also wish to uninstall the proxy manually. See `docs/configuring-playbook-sliding-sync-proxy.md` for more information.
  627. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_sliding_sync_.+', wantlist=True) | join(', ') }}
  628. when: "lookup('ansible.builtin.varnames', '^matrix_sliding_sync_.+', wantlist=True) | length > 0"
  629. - name: (Deprecation) Catch and report the synapse-auto-invite-accept variables
  630. ansible.builtin.fail:
  631. msg: |-
  632. synapse-auto-invite-accept was completely removed from the playbook in February 2026, as the same functionality is available since Synapse v1.109.0.
  633. Please remove all `matrix_synapse_ext_synapse_auto_accept_invite_*` variables from your configuration file (vars.yml).
  634. To enable the native feature, see `docs/configuring-playbook-synapse-auto-accept-invite.md` for more information.
  635. The following variables in your configuration need to be removed: {{ lookup('ansible.builtin.varnames', '^matrix_synapse_ext_synapse_auto_accept_invite_.+', wantlist=True) | join(', ') }}
  636. when: "lookup('ansible.builtin.varnames', '^matrix_synapse_ext_synapse_auto_accept_invite_.+', wantlist=True) | length > 0"