homeserver/roles/mgrote.zfs_arc_mem/tasks/main.yml
mg 9b3859cd9d Bugfix: zfs_arc_mem (#153)
arc pve2

Bugfix: zfs_arc_mem
---
Einträge wurden mehrfach angelegt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#153
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-07-14 19:48:50 +02:00

6 lines
184 B
YAML

---
- name: Limit ZFS Memory Usage
become: yes
ansible.builtin.copy:
dest: /etc/modprobe.d/zfs.conf
content: options zfs zfs_arc_max={{ zfs_extra_arc_max_size }}