Make sure the logic stands after the default in salt is changed
This commit is contained in:
parent
2a464d3dc3
commit
a899ee85ec
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user