From a074bf874bfef148de55544988bbfbd39badcd4d Mon Sep 17 00:00:00 2001 From: 汉 徐 Date: Mon, 28 Dec 2015 14:24:45 +0800 Subject: bugfix: cinder scheduler service is not restart when configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JIRA: COMPASS-222 Change-Id: I43bb9ccc1bfe8e2cce9d0d82eccf97337d1fc07a Signed-off-by: 汉 徐 --- deploy/adapters/ansible/roles/nova-compute/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy/adapters/ansible/roles/nova-compute') 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 -- cgit 1.2.3-korg