infrastructure/ansible/roles/zfs/defaults/main.yml

2 lines
90 B
YAML

# Cap ARC size to 50% RAM
zfs_arc_size: "{{ (ansible_memtotal_mb * 1024 * 1024) * 0.5 }}"