f44b373b789d102e934567533686537a83d4baca
[compass4nfv.git] /
1 ##############################################################################
2 # Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
3 #
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 ##############################################################################
9 ---
10
11 - name: turn off neutron-server neutron-plugins-openvswitch-agent Daemon on control node
12   shell: >
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;
16
17 - name: turn off neutron-server on control node
18   service: name=neutron-server state=stopped
19
20 - name: turn off keepalived on control node
21   service: name=keepalived state=stopped
22   when: ansible_os_family == "Debian"