aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-02-25 17:30:24 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-02-26 11:33:53 +0800
commitc846444991b2b691a0b01057ac2ecdd1dbbcca60 (patch)
tree7aab70ecba55112558062faca4e3549f9b0c93ca /deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
parent13844327bc53f672389f7372e5ee0660d79fd761 (diff)
bugfix:remove openvswitch when enable opencontrail
JIRA: COMPASS-322 Change-Id: Ie095bbba6e22bb583f3caa56a40feb9157b4150e Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks/main.yml')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
index 968148f8..6c01f0f1 100755
--- a/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/open-contrail/tasks/main.yml
@@ -113,6 +113,10 @@
include: provision/provision-compute.yml
when: groups['opencontrail']|length !=0 and inventory_hostname not in groups['opencontrail']
+- name: Remove openvswitch on compute
+ include: uninstall-openvswitch.yml
+ when: groups['opencontrail']|length !=0 and inventory_hostname not in groups['opencontrail']
+
- name: Enable Service Daemon
shell: if [ -f “\/opt\/service.bak” ] ; then mv /opt/service.bak /opt/service ; fi
when: groups['opencontrail']|length !=0