Thanks Chris
Your solution for makemigrations command working perfect but I didn't find
similar thing in docs. have I missed something?
I've two more small queries.
1) how do I pass multiple app name in makemigrations command which is in a
variable (I mean using ansible's *with_items*)
- name: Django makemigrations
django_manage: command="makemigrations --noinput app1" app_path={{app_path
}} settings={{django_settings}}
with_items:
- app1
- app2
- app3
2) how do I pass username and password in createsuperuser command?
I run this task but it didn't work?
- django_manage: command="createsuperuser --noinput myuser [email protected]
mypassword" app_path={{app_path}} settings={{django_settings}}
Thanks again for* --input* thing :)
--
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/089ceee9-7e65-4a22-834e-b2861284792b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.