Matrix Docker Ansible eploy
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

24 rader
721 B

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