mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-26 10:03:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			565 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			565 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 
 | |
| - name: Fail if no Email2Matrix mappings
 | |
|   ansible.builtin.fail:
 | |
|     msg: >
 | |
|       You need to define at least one mapping in `matrix_email2matrix_matrix_mappings` for enabling Email2Matrix.
 | |
|   when: "matrix_email2matrix_matrix_mappings | length == 0"
 | |
| 
 | |
| - name: Fail if required Email2Matrix settings not defined
 | |
|   ansible.builtin.fail:
 | |
|     msg: >-
 | |
|       You need to define a required configuration setting (`{{ item.name }}`).
 | |
|   when: "item.when | bool and vars[item.name] == ''"
 | |
|   with_items:
 | |
|     - {'name': 'matrix_email2matrix_container_network', when: true}
 |