homeserver/roles/mgrote_zfs_arc_mem/tasks/main.yml
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

10 lines
224 B
YAML

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