[constellation] Do some manage.py stuff
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
189167c071
commit
6c20ca2534
|
@ -28,3 +28,18 @@
|
||||||
state: link
|
state: link
|
||||||
ignore_errors: "{{ ansible_check_mode }}"
|
ignore_errors: "{{ ansible_check_mode }}"
|
||||||
notify: Reload uWSGI
|
notify: Reload uWSGI
|
||||||
|
|
||||||
|
- name: Collect static files
|
||||||
|
django_manage:
|
||||||
|
command: collectstatic
|
||||||
|
project_path: "/var/local/constellation"
|
||||||
|
|
||||||
|
- name: Migrate database
|
||||||
|
django_manage:
|
||||||
|
command: migrate
|
||||||
|
project_path: "/var/local/constellation"
|
||||||
|
|
||||||
|
- name: Load initial data
|
||||||
|
django_manage:
|
||||||
|
command: loaddata initial
|
||||||
|
project_path: "/var/local/constellation"
|
||||||
|
|
Loading…
Reference in New Issue