Run Bodhi's alembic upgrade in staging as well.

This commit is contained in:
Randy Barlow 2016-09-10 18:52:55 +00:00
parent b0e3a97d57
commit 63fdbec89a

View file

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