ansible-edda/playbooks/tasks/services/b-user/service-user/01-zfs-datasets.d/database.yml

15 lines
461 B
YAML
Raw Normal View History

2022-10-26 21:43:08 +02:00
- name: Create wal dataset for user {{ service_user_name }}
zfs:
name: rpool/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/wal
state: present
2022-10-24 00:45:52 +02:00
extra_zfs_properties:
recordsize: "8K"
- name: Create data dataset for user {{ service_user_name }}
zfs:
2022-10-26 21:43:08 +02:00
name: rpool/var/lib/{{ ansible_hostname }}/data/{{ service_user_name }}/data
2022-10-24 00:45:52 +02:00
state: present
extra_zfs_properties:
recordsize: "8K"
logbias: "throughput"