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
752 B

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