Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 901 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 901 Bytes

Catena Ansible Role: sysctl

Configure kernel parameters at runtime with sysctl using sysctl.conf preload/configuration files containing sysctl values, managed by systemd-sysctl.

Role variables

catena_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

catena_sysctl_cleanup

Remove all existing configuration files before creating the new ones.

# Default
catena_sysctl_cleanup: false