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…
Reference in New Issue
Block a user