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.
 
 

144 lines
4.8 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/com.devture.ansible.role.playbook_help
  8. - role: galaxy/com.devture.ansible.role.systemd_docker_base
  9. - role: custom/matrix_playbook_migration
  10. - when: matrix_playbook_docker_installation_enabled | bool
  11. role: galaxy/geerlingguy.docker
  12. vars:
  13. docker_install_compose: false
  14. tags:
  15. - setup-docker
  16. - setup-all
  17. - install-docker
  18. - install-all
  19. - when: devture_docker_sdk_for_python_installation_enabled | bool
  20. role: galaxy/com.devture.ansible.role.docker_sdk_for_python
  21. tags:
  22. - setup-docker
  23. - setup-all
  24. - install-docker
  25. - install-all
  26. - when: devture_timesync_installation_enabled | bool
  27. role: galaxy/com.devture.ansible.role.timesync
  28. tags:
  29. - setup-timesync
  30. - setup-all
  31. - install-timesync
  32. - install-all
  33. - custom/matrix-base
  34. - custom/matrix-dynamic-dns
  35. - custom/matrix-mailer
  36. - role: galaxy/com.devture.ansible.role.postgres
  37. - galaxy/redis
  38. - custom/matrix-corporal
  39. - custom/matrix-bridge-appservice-discord
  40. - custom/matrix-bridge-appservice-slack
  41. - custom/matrix-bridge-appservice-webhooks
  42. - custom/matrix-bridge-appservice-irc
  43. - custom/matrix-bridge-appservice-kakaotalk
  44. - custom/matrix-bridge-beeper-linkedin
  45. - custom/matrix-bridge-go-skype-bridge
  46. - custom/matrix-bridge-mautrix-facebook
  47. - custom/matrix-bridge-mautrix-twitter
  48. - custom/matrix-bridge-mautrix-hangouts
  49. - custom/matrix-bridge-mautrix-googlechat
  50. - custom/matrix-bridge-mautrix-instagram
  51. - custom/matrix-bridge-mautrix-signal
  52. - custom/matrix-bridge-mautrix-telegram
  53. - custom/matrix-bridge-mautrix-whatsapp
  54. - custom/matrix-bridge-mautrix-discord
  55. - custom/matrix-bridge-mautrix-slack
  56. - custom/matrix-bridge-mx-puppet-discord
  57. - custom/matrix-bridge-mx-puppet-groupme
  58. - custom/matrix-bridge-mx-puppet-steam
  59. - custom/matrix-bridge-mx-puppet-slack
  60. - custom/matrix-bridge-mx-puppet-twitter
  61. - custom/matrix-bridge-mx-puppet-instagram
  62. - custom/matrix-bridge-sms
  63. - custom/matrix-bridge-heisenbridge
  64. - custom/matrix-bridge-hookshot
  65. - custom/matrix-bot-matrix-reminder-bot
  66. - custom/matrix-bot-matrix-registration-bot
  67. - custom/matrix-bot-maubot
  68. - custom/matrix-bot-buscarron
  69. - custom/matrix-bot-honoroit
  70. - custom/matrix-bot-postmoogle
  71. - custom/matrix-bot-go-neb
  72. - custom/matrix-bot-mjolnir
  73. - custom/matrix-bot-draupnir
  74. - custom/matrix-bot-chatgpt
  75. - custom/matrix-cactus-comments
  76. - custom/matrix-rageshake
  77. - custom/matrix-synapse
  78. - custom/matrix-synapse-auto-compressor
  79. - custom/matrix-synapse-reverse-proxy-companion
  80. - custom/matrix-dendrite
  81. - custom/matrix-conduit
  82. - custom/matrix-synapse-admin
  83. - galaxy/prometheus_node_exporter
  84. - galaxy/prometheus_postgres_exporter
  85. - custom/matrix-prometheus-nginxlog-exporter
  86. - galaxy/prometheus
  87. - galaxy/grafana
  88. - custom/matrix-prometheus-services-connect
  89. - custom/matrix-prometheus-services-proxy-connect
  90. - custom/matrix-registration
  91. - custom/matrix-client-element
  92. - custom/matrix-client-hydrogen
  93. - custom/matrix-client-cinny
  94. - galaxy/jitsi
  95. - custom/matrix-user-verification-service
  96. - custom/matrix-ldap-registration-proxy
  97. - custom/matrix-ma1sd
  98. - custom/matrix-dimension
  99. - galaxy/etherpad
  100. - custom/etherpad-proxy-connect
  101. - custom/matrix-sliding-sync
  102. - custom/matrix-email2matrix
  103. - custom/matrix-sygnal
  104. - galaxy/ntfy
  105. - custom/matrix-nginx-proxy
  106. - custom/matrix-coturn
  107. - role: galaxy/auxiliary
  108. - role: galaxy/com.devture.ansible.role.postgres_backup
  109. - role: galaxy/backup_borg
  110. - custom/matrix-user-creator
  111. - custom/matrix-common-after
  112. - role: galaxy/com.devture.ansible.role.container_socket_proxy
  113. - role: galaxy/com.devture.ansible.role.traefik
  114. - role: galaxy/com.devture.ansible.role.traefik_certs_dumper
  115. - when: devture_systemd_service_manager_enabled | bool
  116. role: galaxy/com.devture.ansible.role.systemd_service_manager
  117. # This is pretty much last, because we want it to better serve as a "last known good configuration".
  118. # See: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2217#issuecomment-1301487601
  119. - when: devture_playbook_state_preserver_enabled | bool
  120. role: galaxy/com.devture.ansible.role.playbook_state_preserver
  121. tags:
  122. - setup-all
  123. - install-all
  124. - role: galaxy/com.devture.ansible.role.playbook_runtime_messages