Commit 9015cd09 by Sven Marnach Committed by GitHub

Merge pull request #3274 from open-craft/smarnach/initial-password-hash

Add support for initial password hash feature to user management playbook.
parents 7c27fa57 85afda0f
......@@ -50,6 +50,10 @@
# unusable_password: true
# groups: []
#
# - username: zoe
# email: zoe@example.com
# initial_password_hash: 'pbkdf2_sha256$20000$levJ6jdVYCsu$gdBLGf2DNPqfaKdcETXtFocRU8Kk+sMsIvKkmw1dKbY='
#
# groups:
# - name: group3
# remove: true
......@@ -91,4 +95,5 @@
{% if item.get('superuser') %}--superuser{% endif %}
{% if item.get('staff') %}--staff{% endif %}
{% if item.get('unusable_password') %}--unusable-password{% endif %}
{% if item.get('initial_password_hash') %}--initial-password-hash {{ item.initial_password_hash | quote }}{% endif %}
with_items: django_users
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment