homeserver/roles/mgrote.zfs_arc_mem/tasks/main.yml

8 lines
205 B
YAML
Raw Normal View History

2021-02-13 16:18:29 +01:00
---
- name: Limit ZFS Memory Usage
become: yes
ansible.builtin.lineinfile:
path: /etc/modprobe.d/zfs.conf
line: options zfs zfs_arc_max={{ zfs_extra_arc_max_size }}
create: yes