From 0135ea0d2842236cd61c81e518ba9d812d10c56e Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 26 Mar 2018 17:15:29 +0800 Subject: [PATCH] Run database migrate for horizon during upgrade Change-Id: I1db585242cc3a5dcb2fe1ac79091d19f624c6f70 Closes-Bug: #1758855 --- ansible/roles/horizon/tasks/upgrade.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ansible/roles/horizon/tasks/upgrade.yml b/ansible/roles/horizon/tasks/upgrade.yml index e078ef1318..a23792f0c8 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