Explorar o código

Fix etcd uninstall

Scott Dodson %!s(int64=8) %!d(string=hai) anos
pai
achega
5a6550b116
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      playbooks/adhoc/uninstall.yml

+ 4 - 1
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