From a48b2b44462b2896b245d2a9a42d09f64ca4b828 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Thu, 16 Feb 2017 14:08:22 +0000 Subject: [PATCH] Update the alembic config location for anitya Signed-off-by: Jeremy Cline --- playbooks/manual/upgrade/anitya.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/manual/upgrade/anitya.yml b/playbooks/manual/upgrade/anitya.yml index 542b765e40..4c7397db68 100644 --- a/playbooks/manual/upgrade/anitya.yml +++ b/playbooks/manual/upgrade/anitya.yml @@ -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')