mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-30 23:07:57 +01:00 
			
		
		
		
	This: - brings consistency - no more mixing `_name_prefix` and `_registry_prefix` - adds extensibility - a future patch will allow reconfiguring all registry prefixes for all roles in the playbook We still have `_docker_` vs `_container_` inconsistencies. These may be worked on later.
		
			
				
	
	
		
			17 lines
		
	
	
		
			629 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			629 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 
 | |
| - name: Fail if required Pantalaimon variables are undefined
 | |
|   ansible.builtin.fail:
 | |
|     msg: "The `{{ item }}` variable must be defined and have a non-null value."
 | |
|   with_items:
 | |
|     - "matrix_pantalaimon_homeserver_url"
 | |
|   when: "vars[item] == '' or vars[item] is none"
 | |
| 
 | |
| - name: (Deprecation) Catch and report renamed Pantalaimon variables
 | |
|   ansible.builtin.fail:
 | |
|     msg: >-
 | |
|       The variable `{{ item.old }}` is deprecated. Please use `{{ item.new }}` instead.
 | |
|   when: "item.old in vars"
 | |
|   with_items:
 | |
|     - {'old': 'matrix_pantalaimon_docker_image_name_prefix', 'new': 'matrix_pantalaimon_docker_image_registry_prefix'}
 |