summaryrefslogtreecommitdiffstats
path: root/playbooks/adhoc
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-08 12:05:45 -0400
committerGitHub <noreply@github.com>2016-09-08 12:05:45 -0400
commit5637ec58fd31a019f2d7e5a0b6760fb21f273881 (patch)
tree7c5c36ce6498d8272c35b76e924dc76679c58bab /playbooks/adhoc
parent52eeaed447a97a85d0266036136ac611be13bbae (diff)
parent3abb43fe1cd1a6bdf00e02e4b4c128dff501823c (diff)
downloadopenshift-5637ec58fd31a019f2d7e5a0b6760fb21f273881.tar.gz
openshift-5637ec58fd31a019f2d7e5a0b6760fb21f273881.tar.bz2
openshift-5637ec58fd31a019f2d7e5a0b6760fb21f273881.tar.xz
openshift-5637ec58fd31a019f2d7e5a0b6760fb21f273881.zip
Merge pull request #2398 from mkumatag/fix_warnings
Fix warnings
Diffstat (limited to 'playbooks/adhoc')
-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