Commit 7d98ac7b by Kyle Crawshaw

Added changes to playbook to reflect unsuable_password option in the management command

Passing the correct flag for unusable_password
parent 12d91d7c
......@@ -19,6 +19,7 @@
# - superuser (optional, bool)
# - staff (optional, bool)
# - remove (optional, bool): ensures the user does not exist
# - unusable_password (optional, bool): ensures the password is unusable
#
# Groups can have the following properties:
# - name (required, str)
......@@ -42,6 +43,13 @@
# email: smitty@werbenmanjens.en
# groups: [group1]
#
# - username: frank
# email: frank@bigcorp.com
# staff: false
# superuser: false
# unusable_password: true
# groups: []
#
# groups:
# - name: group3
# remove: true
......@@ -82,4 +90,5 @@
{% if item.get('remove') %}--remove{% endif %}
{% if item.get('superuser') %}--superuser{% endif %}
{% if item.get('staff') %}--staff{% endif %}
{% if item.get('unusable_password') %}--unusable-password{% 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