mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-03-04 13:06:13 +00:00

This: - brings consistency - no more mixing `_name_prefix` and `_registry_prefix` - adds extensibility - a future patch will allow reconfiguring all registry prefixes for all roles in the playbook We still have `_docker_` vs `_container_` inconsistencies. These may be worked on later.
22 lines
948 B
YAML
22 lines
948 B
YAML
---
|
|
- name: (Deprecation) Catch and report renamed matrix-synapse-auto-compressor 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_auto_compressor_calendar"
|
|
"new": "matrix_synapse_auto_compressor_schedule"
|
|
- "old": "matrix_synapse_auto_compressor_container_image_name_prefix"
|
|
"new": "matrix_synapse_auto_compressor_container_image_registry_prefix"
|
|
|
|
- name: Fail if required matrix-synapse-auto-compressor settings not defined
|
|
ansible.builtin.fail:
|
|
msg: >
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- matrix_synapse_auto_compressor_database_hostname
|
|
- matrix_synapse_auto_compressor_database_password
|