blob: b675ee6abf0510506b44d310146ae856c65beb4e (
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_pools[kubelet_zfs.pool].mountpoint }}/{{ kubelet_zfs.name }}"
path: /var/lib/kubelet
fstype: none
opts: bind,x-systemd.automount,nofail
state: mounted
|