New way of running Koschei DB migrations

This commit is contained in:
Mikolaj Izdebski 2017-09-21 06:51:48 +00:00
parent 1b0b4a69d8
commit aa3a8f63c7

View file

@ -97,7 +97,7 @@
- name: run db migration
become: yes
become_user: koschei
command: alembic -c /usr/share/koschei/alembic.ini upgrade head
command: koschei-admin alembic upgrade head
- name: restart koschei frontend
hosts: "{{ koschei_web_hosts | default('koschei-web:koschei-web-stg') }}"