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.

160 lines
4.9 KiB

  1. ---
  2. - name: "Set up a Matrix server"
  3. hosts: "{{ target if target is defined else 'matrix_servers' }}"
  4. become: true
  5. roles:
  6. # Most of the roles below are not distributed with the playbook, but downloaded separately using `ansible-galaxy` via the `just roles` command (see `justfile`).
  7. - role: galaxy/playbook_help
  8. tags:
  9. - setup-all
  10. - install-all
  11. - role: galaxy/systemd_docker_base
  12. - role: custom/matrix_playbook_migration
  13. - when: matrix_playbook_docker_installation_enabled | bool
  14. role: galaxy/docker
  15. vars:
  16. docker_install_compose: false
  17. docker_install_compose_plugin: false
  18. tags:
  19. - setup-docker
  20. - setup-all
  21. - install-docker
  22. - install-all
  23. - when: devture_docker_sdk_for_python_installation_enabled | bool
  24. role: galaxy/docker_sdk_for_python
  25. tags:
  26. - setup-docker
  27. - setup-all
  28. - install-docker
  29. - install-all
  30. - when: devture_timesync_installation_enabled | bool
  31. role: galaxy/timesync
  32. tags:
  33. - setup-timesync
  34. - setup-all
  35. - install-timesync
  36. - install-all
  37. - custom/matrix-base
  38. - galaxy/ddclient
  39. - galaxy/exim_relay
  40. - role: galaxy/postgres
  41. - galaxy/valkey
  42. - role: custom/matrix-authentication-service
  43. - custom/matrix-corporal
  44. - custom/matrix-appservice-draupnir-for-all
  45. - custom/matrix-appservice-double-puppet
  46. - custom/matrix-alertmanager-receiver
  47. - custom/matrix-bridge-appservice-discord
  48. - custom/matrix-bridge-appservice-slack
  49. - custom/matrix-bridge-appservice-irc
  50. - custom/matrix-bridge-appservice-kakaotalk
  51. - custom/matrix-bridge-beeper-linkedin
  52. - custom/matrix-bridge-wechat
  53. - custom/matrix-bridge-mautrix-twitter
  54. - custom/matrix-bridge-mautrix-googlechat
  55. - custom/matrix-bridge-mautrix-meta-messenger
  56. - custom/matrix-bridge-mautrix-meta-instagram
  57. - custom/matrix-bridge-mautrix-telegram
  58. - custom/matrix-bridge-mautrix-signal
  59. - custom/matrix-bridge-mautrix-gmessages
  60. - custom/matrix-bridge-mautrix-whatsapp
  61. - custom/matrix-bridge-mautrix-wsproxy
  62. - custom/matrix-bridge-mautrix-discord
  63. - custom/matrix-bridge-mautrix-slack
  64. - custom/matrix-bridge-mautrix-bluesky
  65. - custom/matrix-bridge-mx-puppet-groupme
  66. - custom/matrix-bridge-mx-puppet-steam
  67. - custom/matrix-bridge-postmoogle
  68. - custom/matrix-bridge-sms
  69. - custom/matrix-bridge-steam
  70. - custom/matrix-bridge-heisenbridge
  71. - custom/matrix-bridge-hookshot
  72. - custom/matrix-bot-matrix-reminder-bot
  73. - custom/matrix-bot-matrix-registration-bot
  74. - custom/matrix-bot-maubot
  75. - custom/matrix-bot-buscarron
  76. - custom/matrix-bot-baibot
  77. - custom/matrix-bot-honoroit
  78. - custom/matrix-bot-go-neb
  79. - custom/matrix-bot-mjolnir
  80. - custom/matrix-bot-draupnir
  81. - custom/matrix-cactus-comments
  82. - custom/matrix-cactus-comments-client
  83. - custom/matrix-matrixto
  84. - custom/matrix-rageshake
  85. - custom/matrix-synapse
  86. - custom/matrix-synapse-auto-compressor
  87. - custom/matrix-synapse-reverse-proxy-companion
  88. - custom/matrix-dendrite
  89. - custom/matrix-conduit
  90. - custom/matrix-conduwuit
  91. - custom/matrix-continuwuity
  92. - custom/matrix-synapse-admin
  93. - custom/matrix-synapse-usage-exporter
  94. - galaxy/prometheus_node_exporter
  95. - galaxy/prometheus_postgres_exporter
  96. - custom/matrix-prometheus-nginxlog-exporter
  97. - galaxy/prometheus
  98. - galaxy/grafana
  99. - custom/matrix-prometheus-services-connect
  100. - custom/matrix-registration
  101. - custom/matrix-client-element
  102. - custom/matrix-client-hydrogen
  103. - galaxy/cinny
  104. - custom/matrix-client-schildichat
  105. - custom/matrix-client-fluffychat
  106. - galaxy/jitsi
  107. - custom/matrix-user-verification-service
  108. - custom/matrix-ldap-registration-proxy
  109. - custom/matrix-dimension
  110. - galaxy/etherpad
  111. - custom/matrix-sygnal
  112. - galaxy/ntfy
  113. - custom/matrix-static-files
  114. - custom/matrix-coturn
  115. - custom/matrix-media-repo
  116. - custom/matrix-pantalaimon
  117. - custom/matrix-element-admin
  118. - custom/matrix-element-call
  119. - galaxy/livekit_server
  120. - custom/matrix-livekit-jwt-service
  121. - role: galaxy/postgres_backup
  122. - role: galaxy/backup_borg
  123. - custom/matrix-user-creator
  124. - custom/matrix-common-after
  125. - role: galaxy/container_socket_proxy
  126. - role: galaxy/traefik
  127. - role: galaxy/traefik_certs_dumper
  128. - role: galaxy/auxiliary
  129. - when: devture_systemd_service_manager_enabled | bool
  130. role: galaxy/systemd_service_manager
  131. # This is pretty much last, because we want it to better serve as a "last known good configuration".
  132. # See: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2217#issuecomment-1301487601
  133. - when: devture_playbook_state_preserver_enabled | bool
  134. role: galaxy/playbook_state_preserver
  135. tags:
  136. - setup-all
  137. - install-all
  138. - role: galaxy/playbook_runtime_messages