Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

25 linhas
831 B

  1. # SPDX-FileCopyrightText: 2026 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2026 Jason LaGuidice
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. - name: Check existence of matrix-rustpush-bridge service
  7. ansible.builtin.stat:
  8. path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-rustpush-bridge.service"
  9. register: matrix_rustpush_bridge_service_stat
  10. - when: matrix_rustpush_bridge_service_stat.stat.exists | bool
  11. block:
  12. - name: Ensure matrix-rustpush-bridge is stopped
  13. ansible.builtin.service:
  14. name: matrix-rustpush-bridge
  15. state: stopped
  16. daemon_reload: true
  17. - name: Ensure matrix-rustpush-bridge.service doesn't exist
  18. ansible.builtin.file:
  19. path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-rustpush-bridge.service"
  20. state: absent