summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/uninstall.yml
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@gmail.com>2015-11-02 12:36:49 -0500
committerMatt Woodson <mwoodson@gmail.com>2015-11-02 12:36:49 -0500
commita706860af853be6d8bc77ea38593467e827ed527 (patch)
treeaaaa4997ba9da249ef09f2f509b4b1a25500993c /playbooks/adhoc/uninstall.yml
parent5758fdc75659bdd9a02cc56efb7255d677233ad2 (diff)
parent63b19e964fcc09e60562fd253d725edcc2ec4aef (diff)
downloadopenshift-a706860af853be6d8bc77ea38593467e827ed527.tar.gz
openshift-a706860af853be6d8bc77ea38593467e827ed527.tar.bz2
openshift-a706860af853be6d8bc77ea38593467e827ed527.tar.xz
openshift-a706860af853be6d8bc77ea38593467e827ed527.zip
Merge pull request #790 from openshift/master
Merge master into prod
Diffstat (limited to 'playbooks/adhoc/uninstall.yml')
-rw-r--r--playbooks/adhoc/uninstall.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index 7d1544be8..0503b7cd4 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -22,6 +22,11 @@
- set_fact:
is_atomic: "{{ ostree_output.rc == 0 }}"
+ - name: Remove br0 interface
+ shell: ovs-vsctl del-br br0
+ changed_when: False
+ failed_when: False
+
- service: name={{ item }} state=stopped
with_items:
- atomic-enterprise-master
@@ -69,6 +74,15 @@
- tuned-profiles-openshift-node
- tuned-profiles-origin-node
+ - name: Remove linux interfaces
+ shell: ip link del "{{ item }}"
+ changed_when: False
+ failed_when: False
+ with_items:
+ - lbr0
+ - vlinuxbr
+ - vovsbr
+
- shell: systemctl reset-failed
changed_when: False