22 lines
673 B
YAML
22 lines
673 B
YAML
- name: Create data dataset for user {{ service_user_name }}
|
|
zfs:
|
|
name: rpool/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}
|
|
state: present
|
|
extra_zfs_properties:
|
|
canmount: "off"
|
|
|
|
- name: Create wal dataset for user {{ service_user_name }}
|
|
zfs:
|
|
name: rpool/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/wal
|
|
state: present
|
|
extra_zfs_properties:
|
|
recordsize: "8K"
|
|
|
|
- name: Create data dataset for user {{ service_user_name }}
|
|
zfs:
|
|
name: rpool/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/data
|
|
state: present
|
|
extra_zfs_properties:
|
|
recordsize: "8K"
|
|
logbias: "throughput"
|