mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Clean + explain 0-init/tasks/validate_vars.yml
This commit is contained in:
		
							parent
							
								
									a2cbfc45d6
								
							
						
					
					
						commit
						ffb831cf66
					
				
					 1 changed files with 5 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -156,18 +156,16 @@
 | 
			
		|||
  when: item != 'nodejs' and item != 'postgresql' and item != 'mongodb' and item != 'yarn'    # Exclude auto-installed dependencies
 | 
			
		||||
  loop: "{{ vars_checklist }}"
 | 
			
		||||
 | 
			
		||||
# Validates stale options are not marked for install
 | 
			
		||||
- name: 'DISALLOW "XYZ_install: True" Unmaintained'
 | 
			
		||||
- name: 'DISALLOW "XYZ_install: True" if deprecated'
 | 
			
		||||
  assert:
 | 
			
		||||
    that: "{{ item }}_install is undefined or not {{ item }}_install"
 | 
			
		||||
 | 
			
		||||
    fail_msg: "DISALLOWED: '{{ item }}_install: True' (e.g. in /etc/iiab/local_vars.yml)"
 | 
			
		||||
    quiet: yes
 | 
			
		||||
  with_items:
 | 
			
		||||
    - named              # Removed
 | 
			
		||||
    - dhcpd              # Removed
 | 
			
		||||
    - wondershaper       # Removed
 | 
			
		||||
    - dansguardian       # Removed
 | 
			
		||||
    - dhcpd               # Deprecated
 | 
			
		||||
    - named               # Deprecated
 | 
			
		||||
    - wondershaper        # Deprecated
 | 
			
		||||
    - dansguardian        # Deprecated
 | 
			
		||||
    #- xo_services        # Unmaintained
 | 
			
		||||
    #- activity_server    # Unmaintained
 | 
			
		||||
    #- ejabberd_xs        # Unmaintained
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue