Przeglądaj źródła

Add origin-node.service.wants to uninstall

Andrew Lau 8 lat temu
rodzic
commit
887d12cfab
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      playbooks/adhoc/uninstall.yml

+ 2 - 1
playbooks/adhoc/uninstall.yml

@@ -181,6 +181,7 @@
     - /etc/systemd/system/openvswitch.service
     - /etc/systemd/system/origin-node-dep.service
     - /etc/systemd/system/origin-node.service
+    - /etc/systemd/system/origin-node.service.wants
     - /run/openshift-sdn
     - /var/lib/atomic-enterprise
     - /var/lib/openshift
@@ -346,7 +347,7 @@
     - /etc/etcd
     - /etc/systemd/system/etcd_container.service
 
-  # Intenationally using rm command over file module because if someone had mounted a filesystem 
+  # 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/*