mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 22:38:34 +00:00
30 lines
720 B
YAML
30 lines
720 B
YAML
|
---
|
||
|
|
||
|
#
|
||
|
# Tasks related to setting up Jitsi authentication mechanisms
|
||
|
#
|
||
|
|
||
|
- name: Ensure matrix-jitsi-prosody container is running
|
||
|
systemd:
|
||
|
state: started
|
||
|
name: matrix-jitsi-prosody
|
||
|
|
||
|
- name: Ensire Jitsi internal authentication users are created
|
||
|
shell: "docker exec matrix-jitsi-prosody prosodyctl --config /config/prosody.cfg.lua register {{ item.username | quote }} meet.jitsi {{ item.password | quote }}"
|
||
|
with_items: "{{ matrix_jitsi_prosody_auth_internal_accounts }}"
|
||
|
when:
|
||
|
- matrix_jitsi_auth_type == "internal"
|
||
|
|
||
|
|
||
|
#
|
||
|
# Configure other authentication mechanisms below
|
||
|
#
|
||
|
|
||
|
|
||
|
#
|
||
|
# End
|
||
|
#
|
||
|
- name: Ensure matrix-jitsi-prosody container is stopped
|
||
|
systemd:
|
||
|
state: stopped
|
||
|
name: matrix-jitsi-prosody
|