summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/storage.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/docker/tasks/storage.yml')
-rw-r--r--roles/docker/tasks/storage.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/docker/tasks/storage.yml b/roles/docker/tasks/storage.yml
index e431030..d6d531a 100644
--- a/roles/docker/tasks/storage.yml
+++ b/roles/docker/tasks/storage.yml
@@ -29,6 +29,9 @@
- name: stop docker
service: name="docker" state="stopped"
+- name: unmount /var/lib/docker
+ mount: path="/var/lib/docker" state="unmounted"
+
- name: delete /var/lib/docker
file: path="/var/lib/docker" state=absent