Merge pull request #54 from JaseFace/master

Add options for remove_groups and default to false
This commit is contained in:
Nitin Madhok 2014-10-14 21:16:35 -04:00
commit 19b70214fc
1 changed files with 5 additions and 0 deletions

View File

@ -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', []) -%}