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

15 lines
461 B
YAML

- 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"