|
|
|
@@ -6,20 +6,6 @@ |
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
- name: (Deprecation) Catch and report renamed synapse-admin settings |
|
|
|
ansible.builtin.fail: |
|
|
|
msg: >- |
|
|
|
Your configuration contains a variable, which now has a different name. |
|
|
|
Please rename the variable (`{{ item.old }}` -> `{{ item.new }}`) on your configuration file (vars.yml). |
|
|
|
when: "lookup('ansible.builtin.varnames', ('^' + item.old + '$'), wantlist=True) | length > 0" |
|
|
|
with_items: |
|
|
|
- {'old': 'synapse_admin_docker_repo', 'new': 'synapse_admin_container_self_build_repo'} |
|
|
|
- {'old': 'synapse_admin_container_self_build', 'new': 'synapse_admin_container_image_self_build'} |
|
|
|
- {'old': 'synapse_admin_container_self_build_repo', 'new': 'synapse_admin_container_image_self_build_repo'} |
|
|
|
- {'old': 'synapse_admin_public_endpoint', 'new': 'synapse_admin_path_prefix'} |
|
|
|
- {'old': 'synapse_admin_nginx_proxy_integration_enabled', 'new': '<removed>'} |
|
|
|
- {'old': 'synapse_admin_docker_image_name_prefix', 'new': 'synapse_admin_container_image_registry_prefix'} |
|
|
|
|
|
|
|
- when: synapse_admin_container_labels_traefik_enabled | bool |
|
|
|
block: |
|
|
|
- name: Fail if required synapse-admin Traefik settings not defined |
|
|
|
|