diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-10-30 14:26:40 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-10-30 14:26:40 -0400 |
commit | 9e586db2931863780ce6598bb64b3a134c2fdb27 (patch) | |
tree | 7335ac05d5994b32358432f89b27bbff9cacb5ec /playbooks/adhoc | |
parent | 01ebae72262cdc978a1d7eb248d52a3260c18972 (diff) | |
parent | e0fd136c9ae77115cc80f487aac44f066492e494 (diff) | |
download | openshift-9e586db2931863780ce6598bb64b3a134c2fdb27.tar.gz openshift-9e586db2931863780ce6598bb64b3a134c2fdb27.tar.bz2 openshift-9e586db2931863780ce6598bb64b3a134c2fdb27.tar.xz openshift-9e586db2931863780ce6598bb64b3a134c2fdb27.zip |
Merge pull request #777 from brenton/uninstall
Attempt to remove the various interfaces left over from an install
Diffstat (limited to 'playbooks/adhoc')
-rw-r--r-- | playbooks/adhoc/uninstall.yml | 14 |
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 |