summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/tasks
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-03-25 12:59:53 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-03-25 13:03:41 +0800
commit06cf46de14100257cc6843c01ffc92216550b06d (patch)
treeb0f0d0861556fc01543a9135f74e73dc9067b8a1 /deploy/adapters/ansible/roles/open-contrail/tasks
parent1420da02369d5db05487ea13e29f47947e07b338 (diff)
opencontrail: move vhost0 on eth1
JIRA: COMPASS-349 Change-Id: I2cdf8d10fbd2dbd3a015f0eb0eecc72f2266fb96 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml
index 55b1690e..0714d2e9 100755
--- a/deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml
+++ b/deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml
@@ -26,20 +26,17 @@
shell: rmmod vport_vxlan; rmmod openvswitch;
ignore_errors: True
-#- name: copy recovery script
-# copy: src={{ item }} dest=/opt/setup_networks
-# with_items:
+- name: copy recovery script
+ copy: src={{ item }} dest=/opt/setup_networks
+ with_items:
# - recover_network_opencontrail.py
-# - setup_networks_opencontrail.py
-#
+ - setup_networks_opencontrail.py
+
#- name: recover external script
# shell: python /opt/setup_networks/recover_network_opencontrail.py
-#
-#- name: modify net-init
-# shell: sed -i 's/setup_networks.py/setup_networks_opencontrail.py/g' /etc/init.d/net_init
- name: modify net-init
- shell: sed -i '/setup_networks/d' /etc/init.d/net_init
+ shell: sed -i 's/setup_networks.py/setup_networks_opencontrail.py/g' /etc/init.d/net_init
- name: resolve dual NIC problem
shell: >