From 3abb43fe1cd1a6bdf00e02e4b4c128dff501823c Mon Sep 17 00:00:00 2001 From: Manjunath A Kumatagi Date: Fri, 2 Sep 2016 17:26:38 +0530 Subject: Fix warnings --- playbooks/adhoc/uninstall.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'playbooks/adhoc') 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 -- cgit v1.2.3