mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-27 19:38:29 +01:00
8e63f12fbe
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
25 lines
754 B
YAML
25 lines
754 B
YAML
# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
|
|
- name: Check existence of matrix-go-skype-bridge service
|
|
ansible.builtin.stat:
|
|
path: "/etc/systemd/system/matrix-go-skype-bridge.service"
|
|
register: matrix_go_skype_bridge_service_stat
|
|
|
|
- when: matrix_go_skype_bridge_service_stat.stat.exists | bool
|
|
block:
|
|
- name: Ensure matrix-go-skype-bridge is stopped
|
|
ansible.builtin.service:
|
|
name: matrix-go-skype-bridge
|
|
state: stopped
|
|
enabled: false
|
|
daemon_reload: true
|
|
|
|
- name: Ensure matrix-go-skype-bridge.service doesn't exist
|
|
ansible.builtin.file:
|
|
path: "/etc/systemd/system/matrix-go-skype-bridge.service"
|
|
state: absent
|