Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 rivejä
750 B

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