Update the alembic config location for anitya

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
Jeremy Cline 2017-02-16 14:08:22 +00:00
parent 6dc817998c
commit a48b2b4446

View file

@ -35,6 +35,8 @@
roles:
- anitya/frontend
- anitya/fedmsg
notify:
- restart apache
post_tasks:
- name: tell nagios to unshush w.r.t. the frontend
nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}
@ -60,7 +62,7 @@
- anitya/fedmsg
tasks:
- name: Upgrade the database
command: /usr/bin/alembic -c /usr/share/anitya/alembic.ini upgrade head
command: /usr/bin/alembic -c /etc/anitya/alembic.ini upgrade head
args:
chdir: /usr/share/anitya/
when: inventory_hostname.startswith('anitya-backend')