mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-27 13:27:56 +01:00
Add initial role for Dendrite as alternative Matrix server
This commit is contained in:
committed by
Slavi Pantaleev
parent
feda83abf0
commit
3b372b47cd
12
roles/matrix-dendrite/tasks/init.yml
Normal file
12
roles/matrix-dendrite/tasks/init.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- set_fact:
|
||||
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-dendrite.service'] }}"
|
||||
when: matrix_dendrite_enabled|bool
|
||||
|
||||
- set_fact:
|
||||
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-goofys.service'] }}"
|
||||
when: matrix_s3_media_store_enabled|bool
|
||||
|
||||
- name: Fail when using also using Synapse
|
||||
fail:
|
||||
msg: "To use Dendrite as your matrix server, you should disable Synapse."
|
||||
when: "matrix_dendrite_enabled and matrix_synapse_enabled"
|
||||
Reference in New Issue
Block a user