diff --git a/tasks/distribution/Windows.yml b/tasks/distribution/Windows.yml index 343e2ab..6365bb8 100644 --- a/tasks/distribution/Windows.yml +++ b/tasks/distribution/Windows.yml @@ -15,7 +15,7 @@ password_never_expires: "{{ item.password_never_expires | default('true') }}" update_password: "{{ item.update_password | default('on_create') }}" password_expired: "{{ item.password_expired | default('false') }}" - user_cannot_change_password: '{{ item.user_cannot_change_password | default(omit) }}' + user_cannot_change_password: '{{ item.user_cannot_change_password | default(false) }}' no_log: '{{ true if item.password is defined else false }}' with_items: '{{ users }}'