Suguru Hirahara 807da74334
Add license information to files for MX bridges
As the future for the MX bridges in this playbook and by themselves seems uncertain, this commit adds license information in SPDX format to the files for those bridges, before the bridges would be deprecated and possibly get removed from the project.

Please note that .license files are added for the files which would be broken if such information are added as header, following the REUSE's specification.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-23 13:33:30 +09:00

27 lines
842 B
YAML

# SPDX-FileCopyrightText: 2020 Hugues Morisset
# SPDX-FileCopyrightText: 2021 - 2022 Slavi Pantaleev
# SPDX-FileCopyrightText: 2022 Marko Weltzer
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: Check existence of matrix-mx-puppet-steam service
ansible.builtin.stat:
path: "/etc/systemd/system/matrix-mx-puppet-steam.service"
register: matrix_mx_puppet_steam_service_stat
- when: matrix_mx_puppet_steam_service_stat.stat.exists | bool
block:
- name: Ensure matrix-mx-puppet-steam is stopped
ansible.builtin.service:
name: matrix-mx-puppet-steam
state: stopped
enabled: false
daemon_reload: true
- name: Ensure matrix-mx-puppet-steam.service doesn't exist
ansible.builtin.file:
path: "/etc/systemd/system/matrix-mx-puppet-steam.service"
state: absent