Role for manage sysctl rules
Tested with Ansible 1.9.5
Available variables are listed below, along with default values (see defaults/main.yml
):
sysctl_rules:
net.ipv4.ip_local_port_range: "1024 65000"
vm.swappiness: "0"
Error on setting non-existent sysctl keys might be ignored with:
sysctl_ignore_errors: "yes"
None.
- hosts: webserver
roles:
- sysctl
MIT / BSD
This role was created in 2016 by Meteor Liu