summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc/uninstall.yml
diff options
context:
space:
mode:
authorManjunath A Kumatagi <mkumatag@in.ibm.com>2016-09-02 17:26:38 +0530
committerManjunath A Kumatagi <mkumatag@in.ibm.com>2016-09-07 15:09:01 -0400
commit3abb43fe1cd1a6bdf00e02e4b4c128dff501823c (patch)
treebd8df25164b50502bbd41c09f700157d50498ccd /playbooks/adhoc/uninstall.yml
parentbdb4788982c71214b409b8db3ba2054305c851df (diff)
downloadopenshift-3abb43fe1cd1a6bdf00e02e4b4c128dff501823c.tar.gz
openshift-3abb43fe1cd1a6bdf00e02e4b4c128dff501823c.tar.bz2
openshift-3abb43fe1cd1a6bdf00e02e4b4c128dff501823c.tar.xz
openshift-3abb43fe1cd1a6bdf00e02e4b4c128dff501823c.zip
Fix warnings
Diffstat (limited to 'playbooks/adhoc/uninstall.yml')
-rw-r--r--playbooks/adhoc/uninstall.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/adhoc/uninstall.yml b/playbooks/adhoc/uninstall.yml
index ae4316f86..30e0f05fd 100644
--- a/playbooks/adhoc/uninstall.yml
+++ b/playbooks/adhoc/uninstall.yml
@@ -346,8 +346,12 @@
- /etc/etcd
- /etc/systemd/system/etcd_container.service
+ # Intenationally using rm command over file module because if someone had mounted a filesystem
+ # at /var/lib/etcd then the contents was not removed correctly
- name: Remove etcd data
shell: rm -rf /var/lib/etcd/*
+ args:
+ warn: no
failed_when: false
- hosts: lb