homeserver/roles/mgrote_zfs_arc_mem/tasks/main.yml

10 lines
224 B
YAML
Raw Normal View History

---
- name: Limit ZFS Memory Usage
become: true
ansible.builtin.copy:
dest: /etc/modprobe.d/zfs.conf
content: options zfs zfs_arc_max={{ zfs_extra_arc_max_size }}
owner: root
group: root
mode: "0644"