mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-04-27 02:47:33 +00:00
Add MatrixMeshtasticRelay (#4840)
* Add Matrix <-> Meshtastic bridge (meshtastic-matrix-relay) Vendors the meshtastic-matrix-relay (mmrelay) role into roles/custom/ following the conventions used by other bridge roles. Co-authored-by: luschmar <90399580+luschmar@users.noreply.github.com> * Add docs and CHANGELOG entry for Matrix <-> Meshtastic bridge Co-authored-by: luschmar <90399580+luschmar@users.noreply.github.com> --------- Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# SPDX-FileCopyrightText: 2025 - 2026 luschmar
|
||||
# SPDX-FileCopyrightText: 2026 Slavi Pantaleev
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
---
|
||||
|
||||
- name: Check existence of matrix-meshtastic-relay service
|
||||
ansible.builtin.stat:
|
||||
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-meshtastic-relay.service"
|
||||
register: matrix_meshtastic_relay_service_stat
|
||||
|
||||
- when: matrix_meshtastic_relay_service_stat.stat.exists | bool
|
||||
block:
|
||||
- name: Ensure matrix-meshtastic-relay is stopped
|
||||
ansible.builtin.service:
|
||||
name: matrix-meshtastic-relay
|
||||
state: stopped
|
||||
enabled: false
|
||||
daemon_reload: true
|
||||
|
||||
- name: Ensure matrix-meshtastic-relay.service doesn't exist
|
||||
ansible.builtin.file:
|
||||
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-meshtastic-relay.service"
|
||||
state: absent
|
||||
Reference in New Issue
Block a user