Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

25 lignes
781 B

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