0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2025-02-08 20:21:55 +01:00

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'] }} - uid: {{ user['uid'] }}
{% endif -%} {% endif -%}
{% if 'password' in user -%} {% if 'password' in user -%}
- password: {{ user['password'] }} - password: '{{ user['password'] }}'
{% endif -%} {% endif -%}
{% if 'prime_group' in user and 'gid' in user['prime_group'] -%} {% if 'prime_group' in user and 'gid' in user['prime_group'] -%}
- gid: {{ user['prime_group']['gid'] }} - gid: {{ user['prime_group']['gid'] }}