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
|
- 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue