Autocloud has no alembic upgrade scripts yet.

This commit is contained in:
Ralph Bean 2015-09-30 18:54:23 +00:00
parent 9d3b442c27
commit 3b952285cc

View file

@ -88,11 +88,12 @@
- name: Stop the autocloud backend
service: name="autocloud" state=stopped
- name: Upgrade the database
command: /usr/bin/alembic -c /usr/share/autocloud/alembic.ini upgrade head
args:
chdir: /usr/share/autocloud/
when: inventory_hostname.startswith('autocloud-backend01')
# There is no alembic upgrade scripts yet...
#- name: Upgrade the database
# command: /usr/bin/alembic -c /usr/share/autocloud/alembic.ini upgrade head
# args:
# chdir: /usr/share/autocloud/
# when: inventory_hostname.startswith('autocloud-backend01')
- name: And... start the autocloud backend again
service: name="autocloud" state=started