浏览代码

Update playbooks/adhoc/uninstall.yml

It is impossible to delete directory /var/lib/docker when it is a mount point to the docker file system.
In this case the uninstall process fails with error.
I propose just clean it up from all docker's stuff
 
 - name: Remove remaining files
    file: path={{ item }} state=absent
    with_items:
    - /var/lib/docker/*
drmagel 7 年之前
父节点
当前提交
40bcb7d416
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      playbooks/adhoc/uninstall.yml

+ 1 - 1
playbooks/adhoc/uninstall.yml

@@ -312,7 +312,7 @@
     - /etc/systemd/system/origin-node-dep.service
     - /etc/systemd/system/origin-node.service
     - /etc/systemd/system/origin-node.service.wants
-    - /var/lib/docker
+    - /var/lib/docker/*
 
   - name: Rebuild ca-trust
     command: update-ca-trust