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