summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-19 15:23:38 -0400
committerScott Dodson <sdodson@redhat.com>2016-08-19 15:53:18 -0400
commit5a6550b116bbbac341f7d1a3ad800171835b2823 (patch)
tree355cb9aa385167ae33a2915ab915af1733630bb4
parent1dcf0cfda76b8adea076f98c55da4ba147e512df (diff)
downloadopenshift-5a6550b116bbbac341f7d1a3ad800171835b2823.tar.gz
openshift-5a6550b116bbbac341f7d1a3ad800171835b2823.tar.bz2
openshift-5a6550b116bbbac341f7d1a3ad800171835b2823.tar.xz
openshift-5a6550b116bbbac341f7d1a3ad800171835b2823.zip
Fix etcd uninstall
-rw-r--r--playbooks/adhoc/uninstall.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index a6c523e26..3be3a0e96 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -338,7 +338,10 @@
- /etc/ansible/facts.d/openshift.fact
- /etc/etcd
- /etc/systemd/system/etcd_container.service
- - /var/lib/etcd/*
+
+ - name: Remove etcd data
+ shell: rm -rf /var/lib/etcd/*
+ failed_when: false
- hosts: lb
become: yes