Przeglądaj źródła

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.
pull/804/head
Béla Becker 5 lat temu
rodzic
commit
b7261dc098
2 zmienionych plików z 9 dodań i 5 usunięć
  1. +6
    -0
      roles/matrix-etherpad/tasks/main.yml
  2. +3
    -5
      roles/matrix-etherpad/tasks/validate_config.yml

+ 6
- 0
roles/matrix-etherpad/tasks/main.yml Wyświetl plik

@@ -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

+ 3
- 5
roles/matrix-etherpad/tasks/validate_config.yml Wyświetl plik

@@ -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"

Ładowanie…
Anuluj
Zapisz