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.
 
 

27 lignes
930 B

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