mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-05-19 12:28:03 +00:00
Files in this role were ported from matrix-continuwuity (which carries 2025 attribution), so the year range should reflect that the underlying content predates 2026. Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/5200.
25 lines
781 B
YAML
25 lines
781 B
YAML
# SPDX-FileCopyrightText: 2025 - 2026 MDAD project contributors
|
|
# SPDX-FileCopyrightText: 2025 - 2026 Slavi Pantaleev
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
|
|
- name: Check existence of matrix-tuwunel service
|
|
ansible.builtin.stat:
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-tuwunel.service"
|
|
register: matrix_tuwunel_service_stat
|
|
|
|
- when: matrix_tuwunel_service_stat.stat.exists | bool
|
|
block:
|
|
- name: Ensure matrix-tuwunel is stopped
|
|
ansible.builtin.systemd:
|
|
name: matrix-tuwunel
|
|
state: stopped
|
|
daemon_reload: true
|
|
|
|
- name: Ensure matrix-tuwunel.service doesn't exist
|
|
ansible.builtin.file:
|
|
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-tuwunel.service"
|
|
state: absent
|