Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
807 B

  1. ---
  2. - ansible.builtin.set_fact:
  3. matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-mautrix-discord.service'] }}"
  4. when: matrix_mautrix_discord_enabled | bool
  5. # If the matrix-synapse role is not used, these variables may not exist.
  6. - ansible.builtin.set_fact:
  7. matrix_synapse_container_extra_arguments: >
  8. {{
  9. matrix_synapse_container_extra_arguments | default([])
  10. +
  11. ["--mount type=bind,src={{ matrix_mautrix_discord_config_path }}/registration.yaml,dst=/matrix-mautrix-discord-registration.yaml,ro"]
  12. }}
  13. matrix_synapse_app_service_config_files: >
  14. {{
  15. matrix_synapse_app_service_config_files | default([])
  16. +
  17. ["/matrix-mautrix-discord-registration.yaml"]
  18. }}
  19. when: matrix_mautrix_discord_enabled | bool