aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/keystone/handlers
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2016-03-18 19:21:47 +0800
committercarey xu <carey.xuhan@huawei.com>2016-03-21 02:07:26 +0000
commit64747935b777d88346f9f05acf6dee4bf19e53cf (patch)
treeba66c7d6382436da81ef8cd13d8e1ab26ee94e66 /deploy/adapters/ansible/roles/keystone/handlers
parent00826d9f9131b5b3d76d01c13912496ec6067204 (diff)
use apache2 instead of evenlet in keystone
JIRA: COMPASS-335 Change-Id: I7a062ee5486b84d2b8a29c884ba17b1d4f8500a0 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/keystone/handlers')
-rwxr-xr-xdeploy/adapters/ansible/roles/keystone/handlers/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/keystone/handlers/main.yml b/deploy/adapters/ansible/roles/keystone/handlers/main.yml
new file mode 100755
index 00000000..608a8a09
--- /dev/null
+++ b/deploy/adapters/ansible/roles/keystone/handlers/main.yml
@@ -0,0 +1,12 @@
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+- name: restart keystone services
+ service: name={{ item }} state=restarted enabled=yes
+ with_items: services | union(services_noarch)