azmelanar.sysctl

Sysctl

Build Status Ansible Galaxy

Role for manage sysctl rules.

Requirements

Tested with Ansible 1.8.2

Role Variables

Sysctl parameters can be set as dictionary. Example:

 sysctl_rules:
   kernel.panic: 10
   vm.swappiness: 10

Error on setting non-existent sysctl keys might be ignored with:

 sysctl_ignore_errors: "yes"

Dependencies

None

Example Playbook

Example of usage:

- hosts: servers
  roles:
     - { role: azmelanar.sysctl }

License

MIT

Feedback, improvements, bugs

Please use issues.

About

role for manage sysctl rules

Install
ansible-galaxy install azmelanar.sysctl
GitHub repository
License
mit
Downloads
382