matrix-docker-ansible-deploy/roles/custom/matrix-synapse-usage-exporter/tasks/validate_config.yml

11 lines
492 B
YAML
Raw Normal View History

---
- name: (Deprecation) Catch and report renamed matrix-synapse-usage-exporter 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_synapse_usage_exporter_docker_image_name_prefix', 'new': 'matrix_synapse_usage_exporter_container_image_registry_prefix'}