mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 05:51:17 +07:00
376f0e1b92
The default values are too low, you may get an error in some cases after a while (like viewing logs)
9 lines
300 B
YAML
9 lines
300 B
YAML
- name: Adjust kernel parameters
|
|
ansible.posix.sysctl:
|
|
name: "{{ item.name }}"
|
|
value: "{{ item.value }}"
|
|
loop:
|
|
- {name: "fs.inotify.max_queued_events", value: 16384}
|
|
- {name: "fs.inotify.max_user_instances", value: 8192}
|
|
- {name: "fs.inotify.max_user_watches", value: 524288}
|