mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 04:37:36 +01:00
Add validation tasks for Etherpad migration (matrix_etherpad -> etherpad)
This commit is contained in:
parent
2457ac0f6a
commit
6085e3a816
@ -17,3 +17,6 @@ matrix_playbook_migration_matrix_ntfy_migration_validation_enabled: true
|
||||
|
||||
# Controls if (`matrix_redis` -> `redis`) validation will run.
|
||||
matrix_playbook_migration_matrix_redis_migration_validation_enabled: true
|
||||
|
||||
# Controls if (`matrix_etherpad` -> `etherpad`) validation will run.
|
||||
matrix_playbook_migration_matrix_etherpad_migration_validation_enabled: true
|
||||
|
@ -141,3 +141,18 @@
|
||||
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"
|
||||
|
||||
- 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"
|
||||
|
Loading…
Reference in New Issue
Block a user