Update the alembic config location for anitya
Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
parent
6dc817998c
commit
a48b2b4446
1 changed files with 3 additions and 1 deletions
|
@ -35,6 +35,8 @@
|
||||||
roles:
|
roles:
|
||||||
- anitya/frontend
|
- anitya/frontend
|
||||||
- anitya/fedmsg
|
- anitya/fedmsg
|
||||||
|
notify:
|
||||||
|
- restart apache
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- name: tell nagios to unshush w.r.t. the frontend
|
- name: tell nagios to unshush w.r.t. the frontend
|
||||||
nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}
|
||||||
|
@ -60,7 +62,7 @@
|
||||||
- anitya/fedmsg
|
- anitya/fedmsg
|
||||||
tasks:
|
tasks:
|
||||||
- name: Upgrade the database
|
- 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:
|
args:
|
||||||
chdir: /usr/share/anitya/
|
chdir: /usr/share/anitya/
|
||||||
when: inventory_hostname.startswith('anitya-backend')
|
when: inventory_hostname.startswith('anitya-backend')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue