26 lines
		
	
	
		
			758 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			758 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # SPDX-FileCopyrightText: 2024 Michael Hollister
 | |
| # SPDX-FileCopyrightText: 2025 Slavi Pantaleev
 | |
| #
 | |
| # SPDX-License-Identifier: AGPL-3.0-or-later
 | |
| 
 | |
| ---
 | |
| 
 | |
| - tags:
 | |
|     - setup-all
 | |
|     - setup-synapse-usage-exporter
 | |
|     - install-all
 | |
|     - install-synapse-usage-exporter
 | |
|   block:
 | |
|     - when: matrix_synapse_usage_exporter_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
 | |
| 
 | |
|     - when: matrix_synapse_usage_exporter_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
 | |
| 
 | |
| - tags:
 | |
|     - setup-all
 | |
|     - setup-synapse-usage-exporter
 | |
|   block:
 | |
|     - when: not matrix_synapse_usage_exporter_enabled | bool
 | |
|       ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
 |