mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
521 B
15 lines
521 B
9 years ago
|
- name: migrate app
|
||
|
action: django_manage command=migrate app_path={{ app_dir }} settings={{ settings_module }} virtualenv={{ venv }}
|
||
|
ignore_errors: yes
|
||
|
environment:
|
||
|
SECRET_KEY: "{{ django_key }}"
|
||
|
DB_PASSWORD: "{{ db_user_password }}"
|
||
|
|
||
|
|
||
|
- name: collect static
|
||
|
action: django_manage command="collectstatic --noinput" app_path={{ app_dir }} settings={{ settings_module }} virtualenv={{ venv }}
|
||
|
ignore_errors: yes
|
||
|
environment:
|
||
|
SECRET_KEY: "{{ django_key }}"
|
||
|
DB_PASSWORD: "{{ db_user_password }}"
|