1 ##############################################################################
2 # Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 - name: turn off neutron-server neutron-plugins-openvswitch-agent Daemon on control node
13 sed -i '/{{ service_ovs_agent_name }}/d' /opt/service ;
14 sed -i '/neutron-server/d' /opt/service;
15 sed -i '/keepalived/d' /opt/service;
17 - name: turn off neutron-server on control node
18 service: name=neutron-server state=stopped
20 - name: turn off keepalived on control node
21 service: name=keepalived state=stopped
22 when: ansible_os_family == "Debian"