Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
- # SPDX-FileCopyrightText: 2022 MDAD project contributors
- # SPDX-FileCopyrightText: 2022 Marko Weltzer
- # SPDX-FileCopyrightText: 2022 Slavi Pantaleev
- #
- # SPDX-License-Identifier: AGPL-3.0-or-later
-
- ---
-
- - name: Check existence of matrix-hookshot service
- ansible.builtin.stat:
- path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-hookshot.service"
- register: matrix_hookshot_service_stat
-
- - when: matrix_hookshot_service_stat.stat.exists | bool
- block:
- - name: Ensure matrix-hookshot is stopped
- ansible.builtin.service:
- name: matrix-hookshot
- state: stopped
- enabled: false
- daemon_reload: true
-
- - name: Ensure matrix-hookshot.service doesn't exist
- ansible.builtin.file:
- path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-hookshot.service"
- state: absent
|