Files
matrix-docker-ansible-deploy/roles/custom/matrix-bridge-steam/tasks/setup_uninstall.yml
T
Slavi Pantaleev 129f5fda20 Rename matrix_steam_bridge_* variables to matrix_bridge_steam_*
Part of adopting a uniform naming policy for bridge variables,
where the variable prefix matches the role directory name.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 16:12:14 +03:00

24 lines
760 B
YAML

# SPDX-FileCopyrightText: 2025 MDAD project contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: Check existence of matrix-steam-bridge service
ansible.builtin.stat:
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-steam-bridge.service"
register: matrix_bridge_steam_service_stat
- when: matrix_bridge_steam_service_stat.stat.exists | bool
block:
- name: Ensure matrix-steam-bridge is stopped
ansible.builtin.service:
name: matrix-steam-bridge
state: stopped
daemon_reload: true
- name: Ensure matrix-steam-bridge.service doesn't exist
ansible.builtin.file:
path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-steam-bridge.service"
state: absent