Allow '!' prefix in password for locked\disabled accounts.

Signed-off-by: Tim Jones <me@prototim.com>
This commit is contained in:
Tim Jones 2014-12-17 22:57:54 +01:00
parent 26c4578f99
commit add153e060

View File

@ -45,7 +45,7 @@
- uid: {{ user['uid'] }}
{% endif -%}
{% if 'password' in user -%}
- password: {{ user['password'] }}
- password: '{{ user['password'] }}'
{% endif -%}
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
- gid: {{ user['prime_group']['gid'] }}