mirror of
				https://github.com/saltstack-formulas/users-formula.git
				synced 2025-11-04 10:23:38 +01:00 
			
		
		
		
	Merge pull request #54 from JaseFace/master
Add options for remove_groups and default to false
This commit is contained in:
		
						commit
						19b70214fc
					
				@ -58,6 +58,11 @@
 | 
			
		||||
    {% if not user.get('createhome', True) %}
 | 
			
		||||
    - createhome: False
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% if user.get('remove_groups', True) %}
 | 
			
		||||
    - remove_groups: True
 | 
			
		||||
    {% else %}
 | 
			
		||||
    - remove_groups: False
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    - groups:
 | 
			
		||||
      - {{ user_group }}
 | 
			
		||||
      {% for group in user.get('groups', []) -%}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user