homeserver/roles/mgrote_disable_oom_killer/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

8 lines
206 B
YAML

---
- name: disable oom-killer in sysctl.conf (works after a reboot)
become: true
ansible.builtin.blockinfile:
path: /etc/sysctl.conf
block: |
vm.oom-kill = 0
notify: disable oom-killer