|
|
|
@@ -10,8 +10,8 @@ |
|
|
|
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-mautrix-telegram.service'] }}" |
|
|
|
when: matrix_mautrix_telegram_enabled | bool |
|
|
|
|
|
|
|
# If the matrix-synapse role is not used, these variables may not exist. |
|
|
|
- ansible.builtin.set_fact: |
|
|
|
# If the matrix-synapse role is not used, these variables may not exist. |
|
|
|
matrix_synapse_container_extra_arguments: > |
|
|
|
{{ |
|
|
|
matrix_synapse_container_extra_arguments | default([]) |
|
|
|
@@ -25,6 +25,21 @@ |
|
|
|
+ |
|
|
|
["/matrix-mautrix-telegram-registration.yaml"] |
|
|
|
}} |
|
|
|
|
|
|
|
# If the matrix-dendrite role is not used, these variables may not exist. |
|
|
|
matrix_dendrite_container_extra_arguments: > |
|
|
|
{{ |
|
|
|
matrix_dendrite_container_extra_arguments | default([]) |
|
|
|
+ |
|
|
|
["--mount type=bind,src={{ matrix_mautrix_telegram_config_path }}/registration.yaml,dst=/matrix-mautrix-telegram-registration.yaml,ro"] |
|
|
|
}} |
|
|
|
|
|
|
|
matrix_dendrite_app_service_config_files: > |
|
|
|
{{ |
|
|
|
matrix_dendrite_app_service_config_files | default([]) |
|
|
|
+ |
|
|
|
["/matrix-mautrix-telegram-registration.yaml"] |
|
|
|
}} |
|
|
|
when: matrix_mautrix_telegram_enabled | bool |
|
|
|
|
|
|
|
- block: |
|
|
|
|