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

32 lines
543 B
YAML
Raw Normal View History

# Cap ARC size to 50% RAM
zfs_arc_size: "{{ (ansible_memtotal_mb * 1024 * 1024) * 0.5 }}"
2021-01-10 13:23:36 +00:00
sanoid_datasets:
tank:
use_template: production
recursive: true
process_children_only: true
tank/downloads:
use_template: replaceable
recursive: true
sanoid_templates:
production:
frequently: 0
hourly: 24
2021-01-10 13:23:36 +00:00
daily: 14
monthly: 2
2021-01-10 13:23:36 +00:00
yearly: 0
autosnap: true
autoprune: true
replaceable:
frequently: 0
hourly: 6
daily: 2
monthly: 0
yearly: 0
autosnap: true
autoprune: true