blob: 052a811ea8a320d74164b9444a6a17377f4ce1e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
---
- name: create zfs dataset
zfs:
name: "{{ docker_zfs.pool }}/{{ docker_zfs.name }}"
state: present
extra_zfs_properties: "{{ docker_zfs.properties | default(omit) }}"
- name: bind mount filesytem
mount:
src: "{{ zfs_zpools[docker_zfs.pool].mountpoint }}/{{ docker_zfs.name }}"
path: /var/lib/docker
fstype: none
opts: bind,x-systemd.automount,nofail
state: mounted
|