Autocloud has no alembic upgrade scripts yet.
This commit is contained in:
parent
9d3b442c27
commit
3b952285cc
1 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue