From a9da52f24627813dffe278e2299bc66286a00358 Mon Sep 17 00:00:00 2001 From: liyuenan Date: Tue, 22 Nov 2016 11:51:53 +0800 Subject: Support ceilometer for Newton JIRA: COMPASS-491 Change-Id: Iffa7e37e931af4c212fe523e529ee34dd2c14c24 Signed-off-by: liyuenan --- .../roles/ceilometer_controller/handlers/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 deploy/adapters/ansible/openstack_newton_xenial/roles/ceilometer_controller/handlers/main.yml (limited to 'deploy/adapters/ansible/openstack_newton_xenial/roles/ceilometer_controller/handlers/main.yml') diff --git a/deploy/adapters/ansible/openstack_newton_xenial/roles/ceilometer_controller/handlers/main.yml b/deploy/adapters/ansible/openstack_newton_xenial/roles/ceilometer_controller/handlers/main.yml new file mode 100644 index 00000000..a3bfb85d --- /dev/null +++ b/deploy/adapters/ansible/openstack_newton_xenial/roles/ceilometer_controller/handlers/main.yml @@ -0,0 +1,22 @@ +############################################################################## +# 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 ceilometer service + service: name={{ item }} state=restarted enabled=yes + with_items: ceilometer_services + +- name: restart glance_cinder service + service: name={{ item }} state=restarted enabled=yes + with_items: glance_cinder_services + +- name: reload apache server + service: name=apache2 state=reloaded + +- name: restart apache server + service: name=apache2 state=restarted enabled=yes -- cgit 1.2.3-korg