summaryrefslogtreecommitdiff
path: root/roles/docker/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/docker/tasks/main.yml')
-rw-r--r--roles/docker/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml
index 5e66bb1a..9d78114c 100644
--- a/roles/docker/tasks/main.yml
+++ b/roles/docker/tasks/main.yml
@@ -18,6 +18,10 @@
when: docker_lvm is defined
import_tasks: lvm.yml
+- name: prepare /var/lib/docker as ZFS dataset
+ when: docker_zfs is defined
+ import_tasks: zfs.yml
+
- name: prepare package provider
when: docker_pkg_provider != 'distro'
include_tasks: "{{ docker_pkg_provider }}.yml"