Catena Ansible Role: sysctl
Configure kernel parameters at runtime with sysctl using sysctl.conf preload/configuration files containing sysctl values, managed by systemd-sysctl.
Manage sysctl configuration files. They will be placed in /etc/sysctl.d
directory.
# Default
catena_sysctl: []
# Example
catena_sysctl:
# /etc/sysctl.d/10-arch.conf
- name: 10-arch
options:
# Raise inotify resource limits
fs.inotify.max_user_instances: 1024
fs.inotify.max_user_watches: 524288
Remove all existing configuration files before creating the new ones.
# Default
catena_sysctl_cleanup: false