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: