Merge pull request #55 from JaseFace/master
Sorry for the spam, simplify this remove_groups rule a bit
This commit is contained in:
commit
a9d3f23eb5
@ -58,11 +58,7 @@
|
||||
{% if not user.get('createhome', True) %}
|
||||
- createhome: False
|
||||
{% endif %}
|
||||
{% if user.get('remove_groups', True) %}
|
||||
- remove_groups: True
|
||||
{% else %}
|
||||
- remove_groups: False
|
||||
{% endif %}
|
||||
- remove_groups: {{ user.get('remove_groups', 'False') }}
|
||||
- groups:
|
||||
- {{ user_group }}
|
||||
{% for group in user.get('groups', []) -%}
|
||||
|
Loading…
Reference in New Issue
Block a user