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:
- setup-all
- 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:
msg: >-
You need to define a required configuration setting (`{{ item }}`) for using Etherpad.
with_items:
-
when: "matrix_etherpad_enabled and vars[item] == ''"
To integrate Etherpad notes with Matrix rooms you need to set "matrix_dimension_enabled" to true
when: "not matrix_dimension_enabled|bool"