This is really more of a Django issue than an Ansible one. It's most
likely creating the user with an unusable password ("*").
There isn't a way with the built-in createsuperuser command to set a
password. You can find one approach that addresses this problem at
Hi,
I'm creating a super user for my django application through ansible. Script
is below.
django_manage: command="createsuperuser --noinput --username=admin --email=
anoop.kol...@tarams.com" app_path={{ django_dir }}
settings={{settings_path}}
Its creating the super user with some random