Skip to content
Snippets Groups Projects
Commit 9a71d78d authored by Jason Wolfe's avatar Jason Wolfe
Browse files

Sorry for the spam, simplify this remove_groups rule a bit

parent a899ee85
No related branches found
No related tags found
No related merge requests found
...@@ -58,11 +58,7 @@ ...@@ -58,11 +58,7 @@
{% 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: {{ user.get('remove_groups', 'False') }}
- 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', []) -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment