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 - name: Stop the autocloud backend
service: name="autocloud" state=stopped service: name="autocloud" state=stopped
- name: Upgrade the database # There is no alembic upgrade scripts yet...
command: /usr/bin/alembic -c /usr/share/autocloud/alembic.ini upgrade head #- name: Upgrade the database
args: # command: /usr/bin/alembic -c /usr/share/autocloud/alembic.ini upgrade head
chdir: /usr/share/autocloud/ # args:
when: inventory_hostname.startswith('autocloud-backend01') # chdir: /usr/share/autocloud/
# when: inventory_hostname.startswith('autocloud-backend01')
- name: And... start the autocloud backend again - name: And... start the autocloud backend again
service: name="autocloud" state=started service: name="autocloud" state=started