Adds 'empty_password' statement for states.user.present

This commit is contained in:
outime
2015-09-27 16:20:45 +02:00
parent d3d6cfba61
commit 851a59e952
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -78,9 +78,12 @@ users_{{ name }}_user:
{% if 'uid' in user -%}
- uid: {{ user['uid'] }}
{% endif -%}
{% if 'password' in user -%}
{% if 'password in user -%}
- password: '{{ user['password'] }}'
{% endif -%}
{% if empty_password is defined -%}
- empty_password: {{ user['empty_password'] }}
{% endif -%}
{% if 'enforce_password' in user -%}
- enforce_password: {{ user['enforce_password'] }}
{% endif -%}