mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-28 00:48:22 +01:00
Changed 'empty_password' key retrieval method
This commit is contained in:
parent
441d3cb635
commit
965372d0d2
@ -81,8 +81,8 @@ users_{{ name }}_user:
|
|||||||
{% if 'password' in user -%}
|
{% if 'password' in user -%}
|
||||||
- password: '{{ user['password'] }}'
|
- password: '{{ user['password'] }}'
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if 'empty_password' in user -%}
|
{% if user.get('empty_password') -%}
|
||||||
- empty_password: {{ user['empty_password'] }}
|
- empty_password: {{ user.get('empty_password') }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if 'enforce_password' in user -%}
|
{% if 'enforce_password' in user -%}
|
||||||
- enforce_password: {{ user['enforce_password'] }}
|
- enforce_password: {{ user['enforce_password'] }}
|
||||||
|
Loading…
Reference in New Issue
Block a user