mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-11-04 09:08:56 +01:00 
			
		
		
		
	This commit adds copyright attributions in SPDX format as of 6aa320e117 to the files for matrix-bridge-mautrix-facebook, following REUSE's specification.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			914 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			914 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
# SPDX-FileCopyrightText: 2019 - 2022 Slavi Pantaleev
 | 
						|
# SPDX-FileCopyrightText: 2020 MDAD project contributors
 | 
						|
# SPDX-FileCopyrightText: 2022 Marko Weltzer
 | 
						|
#
 | 
						|
# SPDX-License-Identifier: AGPL-3.0-or-later
 | 
						|
 | 
						|
---
 | 
						|
 | 
						|
- name: Check existence of matrix-mautrix-facebook service
 | 
						|
  ansible.builtin.stat:
 | 
						|
    path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-facebook.service"
 | 
						|
  register: matrix_mautrix_facebook_service_stat
 | 
						|
 | 
						|
- when: matrix_mautrix_facebook_service_stat.stat.exists | bool
 | 
						|
  block:
 | 
						|
    - name: Ensure matrix-mautrix-facebook is stopped
 | 
						|
      ansible.builtin.service:
 | 
						|
        name: matrix-mautrix-facebook
 | 
						|
        state: stopped
 | 
						|
        enabled: false
 | 
						|
        daemon_reload: true
 | 
						|
 | 
						|
    - name: Ensure matrix-mautrix-facebook.service doesn't exist
 | 
						|
      ansible.builtin.file:
 | 
						|
        path: "{{ devture_systemd_docker_base_systemd_path }}/matrix-mautrix-facebook.service"
 | 
						|
        state: absent
 |