Make sure the logic stands after the default in salt is changed

This commit is contained in:
Jason Wolfe 2014-10-14 17:53:12 -07:00
parent 2a464d3dc3
commit a899ee85ec
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@
{% if not user.get('createhome', True) %}
- createhome: False
{% endif %}
{% if not user.get('remove_groups', True) %}
{% if user.get('remove_groups', True) %}
- remove_groups: True
{% else %}
- remove_groups: False
{% endif %}
- groups: