blob: 52dde5af696cd44bb1cf39703ecc4308e7439ec2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
- name: create zfs dataset
zfs:
name: "{{ containerd_zfs.pool }}/{{ containerd_zfs.name }}"
state: present
extra_zfs_properties:
quota: "{{ containerd_zfs.size }}"
- name: bind mount filesytem
mount:
src: "{{ zfs_zpools[containerd_zfs.pool].mountpoint }}/{{ containerd_zfs.name }}"
path: /var/lib/containerd
fstype: none
opts: bind,x-systemd.automount,nofail
state: mounted
|