Skip to content

Configure kernel parameters using sysctl with sysctl.conf snippets managed by systemd-sysctl.

License

Notifications You must be signed in to change notification settings

alysoid/ansible-sysctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Configure kernel parameters using sysctl with sysctl.conf snippets managed by systemd-sysctl.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published