aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-03-26 11:55:56 +0000
committerGerrit Code Review <review@openstack.org>2018-03-26 11:55:56 +0000
commit7851de5c3c579dc9012a1d6da1f6abe4fb6bec73 (patch)
tree7e7a6ed282bcbbac9b17ba07684158aa2064dd06
parentc3987096e503da214cdee13d840abd3cec46d558 (diff)
parent0135ea0d2842236cd61c81e518ba9d812d10c56e (diff)
downloadkolla-ansible-7851de5c3c579dc9012a1d6da1f6abe4fb6bec73.tar.gz
kolla-ansible-7851de5c3c579dc9012a1d6da1f6abe4fb6bec73.zip
Merge "Run database migrate for horizon during upgrade"
-rw-r--r--ansible/roles/horizon/tasks/upgrade.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/ansible/roles/horizon/tasks/upgrade.yml b/ansible/roles/horizon/tasks/upgrade.yml
index e078ef131..a23792f0c 100644
--- a/ansible/roles/horizon/tasks/upgrade.yml
+++ b/ansible/roles/horizon/tasks/upgrade.yml
@@ -1,2 +1,12 @@
---
-- include: deploy.yml
+- include: config.yml
+
+- include: clone.yml
+ when:
+ - horizon_dev_mode | bool
+
+- include: bootstrap_service.yml
+ when: horizon_backend_database | bool
+
+- name: Flush handlers
+ meta: flush_handlers