The module provide here
http://docs.ansible.com/django_manage_module.html
needs to have some more example for manage.py command.
example: createsuperuser. How can we create superuser with a specific
username and password? is there any way to pass this information in this
module
- name: Django Create Superuser
django_manage: command=createsuperuser
app_path={{app_path}}
settings={{django_settings}}
tags:
- django
and how do we use latest django'(1.7)'s makemigration command where we have
to give app name (I mean
python manage.py makemigration app1
)
for same environment/path settings collectstatic command works perfectly
- name: Django Collectstatic
django_manage: command=collectstatic
app_path={{app_path}}
settings={{django_settings}}
Could somebody please provide example of these
Thanks
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/80ad9495-a9d4-43a1-a63b-10f08e465369%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.