diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml')
-rwxr-xr-x | deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml | 21 |
1 files changed, 12 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 195a8990..55b1690e 100755 --- a/deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml +++ b/deploy/adapters/ansible/roles/open-contrail/tasks/uninstall-openvswitch.yml @@ -26,17 +26,20 @@ shell: rmmod vport_vxlan; rmmod openvswitch; ignore_errors: True -- name: copy recovery script - copy: src={{ item }} dest=/opt/setup_networks - with_items: - - recover_network_opencontrail.py - - setup_networks_opencontrail.py - -- name: recover external script - shell: python /opt/setup_networks/recover_network_opencontrail.py +#- name: copy recovery script +# copy: src={{ item }} dest=/opt/setup_networks +# with_items: +# - recover_network_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 's/setup_networks.py/setup_networks_opencontrail.py/g' /etc/init.d/net_init + shell: sed -i '/setup_networks/d' /etc/init.d/net_init - name: resolve dual NIC problem shell: > |