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