From b32236aa1ee01f4b9e1bf35cedb1cb802c94cc9a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 5 Dec 2016 11:29:01 +0100 Subject: [PATCH] Fix the environment variable and the alembic call --- playbooks/manual/upgrade/pagure.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/manual/upgrade/pagure.yml b/playbooks/manual/upgrade/pagure.yml index ac7eb4aae9..1d2da344c8 100644 --- a/playbooks/manual/upgrade/pagure.yml +++ b/playbooks/manual/upgrade/pagure.yml @@ -41,9 +41,11 @@ - name: Create new tables in the database command: /usr/bin/python2 /usr/share/pagure/pagure_createdb.py + environment: + PAGURE_CONFIG: /etc/pagure/pagure.cfg - name: Upgrade the database - command: /usr/bin/alembic -c /usr/share/bodhi/alembic.ini upgrade head + command: /usr/bin/alembic -c /etc/pagure/alembic.ini /upgrade head args: chdir: /etc/pagure/ environment: