forked from CCCHH/ansible-infra
		
	
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			343 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			343 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
- name: Ensure that the given configuration names are valid
 | 
						|
  ansible.builtin.fail:
 | 
						|
    msg: "You used one of the reserved configuration names: '{{ item.name }}'."
 | 
						|
  when: item.name == "tls"
 | 
						|
        or item.name == "redirect"
 | 
						|
        or item.name == "logging"
 | 
						|
  loop: "{{ nginx__configurations }}"
 | 
						|
  loop_control:
 | 
						|
    label: "{{ item.name }}"
 |