Skip to content
Snippets Groups Projects
Commit c2f12bab authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

improve app-task s.t. a uwsgi-app can run without a database

parent ae5c42ec
No related branches found
No related tags found
1 merge request!3Unify uwsgi python
......@@ -42,14 +42,15 @@
- "{{ app.app }}"
- "{{ app.instance }}"
- block:
- include: sqlite.yml
when: app.db == "sqlite"
when: app_db_type == "sqlite"
- include: mysql.yml
when: app.db == "mysql"
when: app_db_type == "mysql"
- include: postgres.yml
when: app.db == "postgres"
when: app_db_type == "postgres"
when: app_db_type is defined
- name: ensure we have a group
group:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment