mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-31 07:17:57 +01:00 
			
		
		
		
	Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4297 Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4300
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # SPDX-FileCopyrightText: 2024 Slavi Pantaleev
 | |
| #
 | |
| # SPDX-License-Identifier: AGPL-3.0-or-later
 | |
| 
 | |
| ---
 | |
| 
 | |
| - tags:
 | |
|     - setup-all
 | |
|     - setup-matrix-authentication-service
 | |
|     - install-all
 | |
|     - install-matrix-authentication-service
 | |
|     - matrix-authentication-service-mas-cli-syn2mas
 | |
|   block:
 | |
|     - when: matrix_authentication_service_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
 | |
| 
 | |
| - tags:
 | |
|     - setup-all
 | |
|     - setup-matrix-authentication-service
 | |
|     - install-all
 | |
|     - install-matrix-authentication-service
 | |
|   block:
 | |
|     - when: matrix_authentication_service_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
 | |
| 
 | |
| # The tag 'matrix-authentication-service-syn2mas' has been replaced by the tag 'matrix-authentication-service-mas-cli-syn2mas'.
 | |
| - tags:
 | |
|     - matrix-authentication-service-syn2mas
 | |
|   block:
 | |
|     - name: Warn about deprecated tag
 | |
|       ansible.builtin.fail:
 | |
|         msg: "WARNING: The 'matrix-authentication-service-syn2mas' tag has been replaced by 'matrix-authentication-service-mas-cli-syn2mas'. Please update your command."
 | |
| 
 | |
| - tags:
 | |
|     - matrix-authentication-service-mas-cli-syn2mas
 | |
|   block:
 | |
|     - when: matrix_authentication_service_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/mas_cli_syn2mas.yml"
 | |
| 
 | |
| - tags:
 | |
|     - matrix-authentication-service-mas-cli-doctor
 | |
|   block:
 | |
|     - when: matrix_authentication_service_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/mas_cli_doctor.yml"
 | |
| 
 | |
| - tags:
 | |
|     - register-user
 | |
|   block:
 | |
|     - when: matrix_authentication_service_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
 | |
| 
 | |
| - tags:
 | |
|     - setup-all
 | |
|     - setup-matrix-authentication-service
 | |
|   block:
 | |
|     - when: not matrix_authentication_service_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
 |