Run Bodhi's alembic upgrade in staging as well.
This commit is contained in:
parent
b0e3a97d57
commit
63fdbec89a
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
||||||
command: /usr/bin/alembic -c /usr/share/bodhi/alembic.ini upgrade head
|
command: /usr/bin/alembic -c /usr/share/bodhi/alembic.ini upgrade head
|
||||||
args:
|
args:
|
||||||
chdir: /usr/share/bodhi/
|
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
|
- name: And... start the backend again
|
||||||
service: name="fedmsg-hub" state=started
|
service: name="fedmsg-hub" state=started
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue