summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/nova-compute
diff options
context:
space:
mode:
author汉 徐 <hanxu@carey.local>2015-12-28 14:24:45 +0800
committer汉 徐 <hanxu@carey.local>2015-12-28 14:24:45 +0800
commita074bf874bfef148de55544988bbfbd39badcd4d (patch)
tree1952084bfc2c3a5a3d38b562eef818cdea9f9a3f /deploy/adapters/ansible/roles/nova-compute
parent8d9d65ef222225db6ffebe1f2ead334ef1f0280f (diff)
bugfix: cinder scheduler service is not restart when configuration updated
JIRA: COMPASS-222 Change-Id: I43bb9ccc1bfe8e2cce9d0d82eccf97337d1fc07a Signed-off-by: 汉 徐 <hanxu@carey.local>
Diffstat (limited to 'deploy/adapters/ansible/roles/nova-compute')
-rw-r--r--deploy/adapters/ansible/roles/nova-compute/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml b/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
index 45dab3f8..6c30f25b 100644
--- a/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/nova-compute/tasks/main.yml
@@ -23,7 +23,7 @@
lineinfile: dest=/opt/service create=yes line='{{ item }}'
with_items: services | union(services_noarch)
-- meta: flush_handlers
-
- name: remove nova sqlite db
shell: rm /var/lib/nova/nova.sqlite || touch nova.sqlite.removed
+
+- meta: flush_handlers