mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-02-24 16:04:09 +01:00
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>
27 lines
840 B
YAML
27 lines
840 B
YAML
# SPDX-FileCopyrightText: 2020 Rodrigo Belem
|
|
# 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-slack service
|
|
ansible.builtin.stat:
|
|
path: "/etc/systemd/system/matrix-mx-puppet-slack.service"
|
|
register: matrix_mx_puppet_slack_service_stat
|
|
|
|
- when: matrix_mx_puppet_slack_service_stat.stat.exists | bool
|
|
block:
|
|
- name: Ensure matrix-mx-puppet-slack is stopped
|
|
ansible.builtin.service:
|
|
name: matrix-mx-puppet-slack
|
|
state: stopped
|
|
enabled: false
|
|
daemon_reload: true
|
|
|
|
- name: Ensure matrix-mx-puppet-slack.service doesn't exist
|
|
ansible.builtin.file:
|
|
path: "/etc/systemd/system/matrix-mx-puppet-slack.service"
|
|
state: absent
|