2022-11-04 13:58:28 +01:00
---
- name : (Deprecation) Catch and report renamed Matrix playbook settings
ansible.builtin.fail :
msg : >-
Your configuration contains a variable, which now has a different name.
Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
when : "item.old in vars"
with_items :
- {'old': 'matrix_vars_yml_snapshotting_enabled', 'new' : 'devture_playbook_state_preserver_vars_preservation_enabled' }
- {'old': 'matrix_vars_yml_snapshotting_src', 'new' : 'devture_playbook_state_preserver_vars_preservation_src' }
- {'old': 'matrix_playbook_commit_hash_preservation_enabled', 'new' : 'devture_playbook_state_preserver_commit_hash_preservation_enabled' }
2022-11-04 15:41:23 +01:00
2022-11-04 15:33:22 +01:00
- {'old': 'matrix_ntpd_package', 'new' : 'devture_timesync_ntpd_package' }
- {'old': 'matrix_ntpd_service', 'new' : 'devture_timesync_ntpd_service' }
2022-11-04 15:41:23 +01:00
2022-11-04 15:37:47 +01:00
- {'old': 'matrix_systemd_unit_home_path', 'new' : 'devture_systemd_docker_base_systemd_unit_home_path' }
2022-11-04 15:38:38 +01:00
- {'old': 'matrix_systemd_path', 'new' : 'devture_systemd_docker_base_systemd_path' }
2022-11-04 15:39:35 +01:00
- {'old': 'matrix_host_command_docker', 'new' : 'devture_systemd_docker_base_host_command_docker' }
2022-11-04 15:40:25 +01:00
- {'old': 'matrix_host_command_sh', 'new' : 'devture_systemd_docker_base_host_command_sh' }
2022-11-04 15:41:23 +01:00
- {'old': 'matrix_host_command_systemctl', 'new' : 'devture_systemd_docker_base_host_command_systemctl' }
2022-11-04 15:44:29 +01:00
- {'old': 'matrix_container_retries_count', 'new' : 'devture_playbook_help_container_retries_count' }
- {'old': 'matrix_container_retries_delay', 'new' : 'devture_playbook_help_container_retries_delay' }
- {'old': 'matrix_geturl_retries_count', 'new' : 'devture_playbook_help_geturl_retries_count' }
- {'old': 'matrix_geturl_retries_delay', 'new' : 'devture_playbook_help_geturl_retries_delay' }
2022-11-20 15:43:30 +01:00
- {'old': 'matrix_nginx_proxy_synapse_cache_path', 'new' : 'matrix_synapse_reverse_proxy_companion_synapse_cache_path' }
- {'old': 'matrix_nginx_proxy_synapse_cache_enabled', 'new' : 'matrix_synapse_reverse_proxy_companion_synapse_cache_enabled' }
2022-11-22 08:01:26 +01:00
- {'old': 'matrix_docker_installation_enabled', 'new' : 'matrix_playbook_docker_installation_enabled' }
- {'old': 'matrix_docker_package_name', 'new' : '<Not applicable. Docker is installed using https://github.com/geerlingguy/ansible-role-docker now>' }
2022-11-23 09:14:28 +01:00
- {'old': 'matrix_systemd_services_list', 'new' : 'devture_systemd_service_manager_services_list_additional' }
- {'old': 'matrix_common_after_systemd_service_start_wait_for_timeout_seconds', 'new' : 'devture_systemd_service_manager_up_verification_delay_seconds' }
- {'old': 'matrix_systemd_services_autostart_enabled', 'new' : 'devture_systemd_service_manager_services_autostart_enabled' }
2023-01-21 10:07:04 +01:00
- {'old': 'matrix_prometheus_node_exporter_metrics_proxying_enabled', 'new' : 'matrix_prometheus_services_proxy_connect_prometheus_node_exporter_metrics_proxying_enabled' }
2023-02-05 09:32:09 +01:00
- {'old': 'matrix_prometheus_postgres_exporter_metrics_proxying_enabled', 'new' : 'matrix_prometheus_services_proxy_connect_prometheus_postgres_exporter_metrics_proxying_enabled' }
2023-03-01 08:29:14 +01:00
- {'old': 'matrix_playbook_traefik_certs_dumper_role_enabled', 'new' : 'devture_traefik_certs_dumper_enabled' }
2023-03-06 08:51:14 +01:00
- {'old': 'matrix_playbook_traefik_role_enabled', 'new' : 'devture_traefik_enabled' }
2022-11-27 06:23:41 +01:00
2023-03-21 06:38:12 +01:00
# Most important variables from the old Prometheus role here, for people who miss the changelog entry
- {'old': 'matrix_prometheus_enabled', 'new' : 'prometheus_enabled' }
- {'old': 'matrix_prometheus_process_default_arguments', 'new' : 'prometheus_process_default_arguments' }
- {'old': 'matrix_prometheus_process_extra_arguments', 'new' : 'prometheus_process_extra_arguments' }
- {'old': 'matrix_prometheus_configuration_extension_yaml', 'new' : 'prometheus_configuration_extension_yaml' }
- {'old': 'matrix_prometheus_scraper_synapse_enabled', 'new' : 'matrix_prometheus_services_connect_synapse_enabled' }
- {'old': 'matrix_prometheus_scraper_synapse_targets', 'new' : '<superseded by matrix_prometheus_services_connect_scraper_synapse_main_process_static_configs_target>' }
- {'old': 'matrix_prometheus_scraper_synapse_workers_enabled_list', 'new' : 'matrix_prometheus_services_connect_scraper_synapse_workers_enabled_list' }
- {'old': 'matrix_prometheus_scraper_synapse_rules_synapse_tag', 'new' : 'matrix_prometheus_services_connect_synapse_rules_download_synapse_tag' }
- {'old': 'matrix_prometheus_scraper_node_enabled', 'new' : 'prometheus_self_node_scraper_enabled' }
- {'old': 'matrix_prometheus_scraper_node_targets', 'new' : '<superseded by prometheus_self_node_scraper_static_configs_target>' }
- {'old': 'matrix_prometheus_scraper_postgres_enabled', 'new' : 'matrix_prometheus_services_connect_scraper_postgres_enabled' }
- {'old': 'matrix_prometheus_scraper_postgres_targets', 'new' : '<superseded by matrix_prometheus_services_connect_scraper_postgres_static_configs_target>' }
- {'old': 'matrix_prometheus_scraper_hookshot_enabled', 'new' : 'matrix_prometheus_services_connect_scraper_hookshot_enabled' }
- {'old': 'matrix_prometheus_scraper_hookshot_targets', 'new' : '<superseded by matrix_prometheus_services_connect_scraper_hookshot_static_configs_target>' }
- {'old': 'matrix_prometheus_scraper_nginxlog_enabled', 'new' : 'matrix_prometheus_services_connect_scraper_nginxlog_enabled' }
- {'old': 'matrix_prometheus_scraper_nginxlog_server_port', 'new' : 'matrix_prometheus_services_connect_scraper_nginxlog_static_configs_target' }
2023-04-03 07:53:46 +02:00
- {'old': 'matrix_prosody_jitsi_max_participants', 'new' : 'jitsi_prosody_max_participants' }
- {'old': 'jitsi_require_well_known', 'new' : 'jitsi_web_well_known_element_jitsi_enabled' }
- {'old': 'jitsi_wellknown_element_jitsi_json', 'new' : 'jitsi_web_well_known_element_jitsi_json' }
2023-03-21 06:38:12 +01:00
2024-01-02 14:56:56 +01:00
- {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_enabled', 'new' : 'matrix_metrics_exposure_enabled' }
- {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_enabled', 'new' : 'matrix_metrics_exposure_http_basic_auth_enabled' }
- {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_username', 'new' : '<superseded by matrix_metrics_exposure_http_basic_auth_users>' }
- {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_password', 'new' : '<superseded by matrix_metrics_exposure_http_basic_auth_users>' }
2024-01-04 11:49:00 +01:00
- {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_raw_content', 'new' : '<superseded by matrix_metrics_exposure_http_basic_auth_users>' }
- {'old': 'matrix_nginx_proxy_proxy_matrix_metrics_additional_location_configuration_blocks', 'new' : '<superseded by adding labels to each individual service that you care about>' }
- {'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>' }
- {'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>' }
2024-01-02 14:56:56 +01:00
2024-01-03 12:05:59 +01:00
- {'old': 'matrix_well_known_matrix_server_enabled', 'new' : 'matrix_static_files_file_matrix_server_enabled' }
- {'old': 'matrix_well_known_matrix_support_enabled', 'new' : 'matrix_static_files_file_matrix_support_enabled' }
2024-01-03 12:44:19 +01:00
- {'old': 'matrix_homeserver_admin_contacts', 'new' : 'matrix_static_files_file_matrix_support_property_m_contacts' }
- {'old': 'matrix_homeserver_support_url', 'new' : 'matrix_static_files_file_matrix_support_property_m_support_page' }
- {'old': 'matrix_well_known_matrix_client_io_element_e2ee_default', 'new' : 'matrix_static_files_file_matrix_client_property_io_element_e2ee_default' }
- {'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' }
- {'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' }
- {'old': 'matrix_well_known_matrix_client_configuration_extension_json', 'new' : 'matrix_static_files_file_matrix_client_configuration_extension_json' }
- {'old': 'matrix_well_known_matrix_server_configuration_extension_json', 'new' : 'matrix_static_files_file_matrix_server_configuration_extension_json' }
- {'old': 'matrix_well_known_matrix_support_configuration_extension_json', 'new' : 'matrix_static_files_file_matrix_support_configuration_extension_json' }
- {'old': 'matrix_nginx_proxy_self_check_validate_certificates', 'new' : 'matrix_static_files_self_check_validate_certificates' }
- {'old': 'matrix_nginx_proxy_self_check_well_known_matrix_client_follow_redirects', 'new' : 'matrix_static_files_self_check_well_known_matrix_client_follow_redirects' }
2024-01-03 13:39:17 +01:00
- {'old': 'matrix_nginx_proxy_base_domain_serving_enabled', 'new' : 'matrix_static_files_container_labels_base_domain_enabled' }
- {'old': 'matrix_nginx_proxy_base_domain_hostname', 'new' : 'matrix_static_files_container_labels_base_domain_traefik_hostname' }
- {'old': 'matrix_nginx_proxy_base_domain_homepage_enabled', 'new' : 'matrix_static_files_file_index_html_enabled' }
- {'old': 'matrix_nginx_proxy_base_domain_create_directory', 'new' : '<no longer necessary; see matrix_static_files_file_index_html_enabled>' }
2024-01-03 13:42:18 +01:00
- {'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>' }
- {'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>' }
2024-01-04 09:38:07 +01:00
- {'old': 'matrix_nginx_proxy_proxy_matrix_client_redirect_root_uri_to_domain', 'new' : '<superseded by matrix_synapse_container_labels_client_root_redirection_* or matrix_synapse_reverse_proxy_companion_container_labels_client_root_redirection_* or other equivalent variables based on the homeserver implementation you use>' }
2024-01-04 10:37:17 +01:00
- {'old': 'matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_client_api_enabled', 'new' : 'matrix_synapse_container_labels_client_synapse_client_api_enabled' }
- {'old': 'matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_oidc_api_enabled', 'new' : 'matrix_synapse_container_labels_client_synapse_oidc_api_enabled' }
- {'old': 'matrix_nginx_proxy_proxy_matrix_client_api_forwarded_location_synapse_admin_api_enabled', 'new' : 'matrix_synapse_container_labels_client_synapse_admin_api_enabled' }
2024-01-03 12:05:59 +01:00
2022-11-27 06:23:41 +01:00
- name : (Deprecation) Catch and report matrix_postgres variables
ansible.builtin.fail :
msg : |-
The matrix-postgres role in the playbook has been replaced with the com.devture.ansible.role.postgres role (https://github.com/devture/com.devture.ansible.role.postgres).
The new role is pretty much the same, but uses differently named variables.
2022-11-30 09:59:25 +01:00
The matrix-postgres-backup role in the playbook has been replaced with the com.devture.ansible.role.postgres_backup role (https://github.com/devture/com.devture.ansible.role.postgres_backup).
The new role is pretty much the same, but uses differently named variables.
Please change your configuration (vars.yml) to rename all `matrix_postgres`-prefixed variables (`matrix_postgres_*` -> `devture_postgres_*`).
2022-11-27 06:23:41 +01:00
2022-11-30 09:59:25 +01:00
The following variables in your configuration need to be renamed : {{ vars | dict2items | selectattr('key', 'match', 'matrix_postgres_.*') | map (attribute='key') | join(', ') }}
when : "vars | dict2items | selectattr('key', 'match', 'matrix_postgres_.*') | list | items2dict"
2023-01-21 10:07:04 +01:00
- when : matrix_playbook_migration_matrix_prometheus_node_exporter_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_matrix_prometheus_node_exporter_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_prometheus_node_exporter_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_prometheus_node_exporter variables
ansible.builtin.fail :
msg : >-
The matrix-prometheus-node-exporter role that used to be part of this playbook has been replaced by https://gitlab.com/etke.cc/roles/prometheus_node_exporter.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_prometheus_node_exporter_` -> `prometheus_node_exporter_`).
We found usage of the following variables : {{ matrix_playbook_migration_matrix_prometheus_node_exporter_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_matrix_prometheus_node_exporter_migration_vars | length > 0"
2023-02-05 09:32:09 +01:00
- when : matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_prometheus_postgres_exporter_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_prometheus_postgres_exporter variables
ansible.builtin.fail :
msg : >-
The matrix-prometheus-postgres-exporter role that used to be part of this playbook has been replaced by https://gitlab.com/etke.cc/roles/prometheus_postgres_exporter.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_prometheus_postgres_exporter_` -> `prometheus_postgres_exporter_`).
We found usage of the following variables : {{ matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_matrix_prometheus_postgres_exporter_migration_vars | length > 0"
2023-02-13 09:53:11 +01:00
- when : matrix_playbook_migration_matrix_backup_borg_migration_validation_enabled | bool
2023-02-17 09:13:34 +01:00
block :
2023-02-13 09:53:11 +01:00
- ansible.builtin.set_fact :
matrix_playbook_migration_backup_borg_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_backup_borg_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_backup_borg variables
ansible.builtin.fail :
msg : >-
The matrix-backup-borg role that used to be part of this playbook has been replaced by https://gitlab.com/etke.cc/roles/backup_borg.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_backup_borg_` -> `backup_borg_`).
We found usage of the following variables : {{ matrix_playbook_migration_backup_borg_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_backup_borg_migration_vars | length > 0"
2023-02-15 09:30:58 +01:00
- when : matrix_playbook_migration_matrix_grafana_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_grafana_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_grafana_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_grafana variables
ansible.builtin.fail :
msg : >-
The matrix-grafana role that used to be part of this playbook has been replaced by https://gitlab.com/etke.cc/roles/grafana.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_grafana_` -> `grafana_`).
We found usage of the following variables : {{ matrix_playbook_migration_grafana_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_grafana_migration_vars | length > 0"
2023-02-17 08:54:33 +01:00
- when : matrix_playbook_migration_matrix_ntfy_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_ntfy_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_ntfy_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_ntfy variables
ansible.builtin.fail :
msg : >-
The matrix-ntfy role that used to be part of this playbook has been replaced by https://gitlab.com/etke.cc/roles/ntfy.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_ntfy_` -> `ntfy_`).
We found usage of the following variables : {{ matrix_playbook_migration_ntfy_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_ntfy_migration_vars | length > 0"
2023-02-17 15:23:59 +01:00
- when : matrix_playbook_migration_matrix_redis_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_redis_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_redis_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_redis variables
ansible.builtin.fail :
msg : >-
The matrix-redis role that used to be part of this playbook has been replaced by https://gitlab.com/etke.cc/roles/redis.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_redis_` -> `redis_`).
We found usage of the following variables : {{ matrix_playbook_migration_redis_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_redis_migration_vars | length > 0"
2023-03-03 09:37:51 +01:00
- when : matrix_playbook_migration_matrix_etherpad_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_etherpad_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_etherpad_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_etherpad variables
ansible.builtin.fail :
msg : >-
The matrix-etherpad role that used to be part of this playbook has been replaced by https://gitlab.com/etke.cc/roles/etherpad.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_etherpad_` -> `etherpad_`).
We found usage of the following variables : {{ matrix_playbook_migration_etherpad_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_etherpad_migration_vars | length > 0"
2023-03-20 10:06:27 +01:00
- when : matrix_playbook_migration_matrix_aux_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_aux_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_aux_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_aux variables
ansible.builtin.fail :
msg : >-
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.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_aux_` -> `aux_`).
We found usage of the following variables : {{ matrix_playbook_migration_aux_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_aux_migration_vars | length > 0"
2023-04-03 07:53:46 +02:00
- when : matrix_playbook_migration_matrix_jitsi_migration_validation_enabled | bool
block :
- ansible.builtin.set_fact :
matrix_playbook_migration_jitsi_migration_vars : |-
{{ vars | dict2items | selectattr('key', 'match', 'matrix_jitsi_.*') | list | items2dict }}
- name : (Deprecation) Catch and report matrix_jitsi variables
ansible.builtin.fail :
msg : >-
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.
The new role is compatible with the old one, but uses different names for its variables.
Please change your configuration (vars.yml) to rename all variables (`matrix_jitsi_` -> `jitsi_`).
We found usage of the following variables : {{ matrix_playbook_migration_jitsi_migration_vars.keys() | join(', ') }}
when : "matrix_playbook_migration_jitsi_migration_vars | length > 0"