summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/uninstall.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-22 11:36:00 -0400
committerGitHub <noreply@github.com>2016-08-22 11:36:00 -0400
commiteb3df4cc0431a3f65f47a2ed0fd9427a6126907b (patch)
tree429f43f690cb6be904e983d70437b794636e2eed /playbooks/adhoc/uninstall.yml
parent4a48123bf6889279cbbd6f6aeb8317fd0cf1b827 (diff)
parent5a6550b116bbbac341f7d1a3ad800171835b2823 (diff)
downloadopenshift-eb3df4cc0431a3f65f47a2ed0fd9427a6126907b.tar.gz
openshift-eb3df4cc0431a3f65f47a2ed0fd9427a6126907b.tar.bz2
openshift-eb3df4cc0431a3f65f47a2ed0fd9427a6126907b.tar.xz
openshift-eb3df4cc0431a3f65f47a2ed0fd9427a6126907b.zip
Merge pull request #2336 from sdodson/etcd-uninstall
Fix etcd uninstall
Diffstat (limited to 'playbooks/adhoc/uninstall.yml')
-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