Etherpad role: Etherpad needs Dimension

The default scalar.vector.im integrations manager doesn't support custom
URL's for etherpad, therefore Dimension needs to be enabled.
This commit is contained in:
Béla Becker 2021-01-28 15:11:22 +01:00
parent 346f8b3475
commit b7261dc098
2 changed files with 9 additions and 5 deletions

View file

@ -13,3 +13,9 @@
tags: tags:
- setup-all - setup-all
- setup-etherpad - setup-etherpad
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: run_setup|bool and matrix_etherpad_enabled|bool
tags:
- setup-all
- setup-etherpad

View file

@ -1,7 +1,5 @@
- name: Fail if required Etherpad settings not defined - name: Fail if Etherpad is enabled without the Dimension integrations manager
fail: fail:
msg: >- msg: >-
You need to define a required configuration setting (`{{ item }}`) for using Etherpad. To integrate Etherpad notes with Matrix rooms you need to set "matrix_dimension_enabled" to true
with_items: when: "not matrix_dimension_enabled|bool"
-
when: "matrix_etherpad_enabled and vars[item] == ''"