- name: Django Create Superuser
django_manage: command=createsuperuser
app_path={{app_path}}
settings={{django_settings}}
tags:
- django
python manage.py makemigration app1- name: Django Collectstatic
django_manage: command=collectstatic
app_path={{app_path}}
settings={{django_settings}}
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
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.
- name: Django makemigrations
django_manage: command="makemigrations --noinput app1" app_path={{app_path}} settings={{django_settings}}
with_items:
- app1
- app2
- app3
- django_manage: command="createsuperuser --noinput myuser mye...@xyz.com mypassword" app_path={{app_path}} settings={{django_settings}}
--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/089ceee9-7e65-4a22-834e-b2861284792b%40googlegroups.com.