Bodhi 2.8.0's alembic.ini is moved to /etc/bodhi.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2017-06-16 22:00:06 +00:00
parent c57e2d981e
commit 37d3a96893

View file

@ -94,7 +94,13 @@
command: /usr/bin/alembic -c /usr/share/bodhi/alembic.ini upgrade head
args:
chdir: /usr/share/bodhi/
when: inventory_hostname.startswith(('bodhi-backend01.phx2', 'bodhi-backend01.stg.phx2'))
when: inventory_hostname.startswith(('bodhi-backend01.phx2',))
- name: Upgrade the database
command: /usr/bin/alembic -c /etc/bodhi/alembic.ini upgrade head
args:
chdir: /usr/share/bodhi/
when: inventory_hostname.startswith(('bodhi-backend01.stg.phx2',))
- name: And... start the backend again
service: name="fedmsg-hub" state=started