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) %}
|
{% if not user.get('createhome', True) %}
|
||||||
- createhome: False
|
- createhome: False
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if user.get('remove_groups', True) %}
|
||||||
|
- remove_groups: True
|
||||||
|
{% else %}
|
||||||
|
- remove_groups: False
|
||||||
|
{% endif %}
|
||||||
- groups:
|
- groups:
|
||||||
- {{ user_group }}
|
- {{ user_group }}
|
||||||
{% for group in user.get('groups', []) -%}
|
{% for group in user.get('groups', []) -%}
|
||||||
|
|
Loading…
Reference in New Issue