https://github.com/oefenweb/ansible-sysctl
Ansible role to manage sysctl settings
https://github.com/oefenweb/ansible-sysctl
ansible debian kernel performance sysctl ubuntu
Last synced: 7 months ago
JSON representation
Ansible role to manage sysctl settings
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-sysctl
- Owner: Oefenweb
- License: mit
- Created: 2015-10-06T15:09:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:07:29.000Z (over 2 years ago)
- Last Synced: 2023-11-02T11:37:47.668Z (over 2 years ago)
- Topics: ansible, debian, kernel, performance, sysctl, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 86.9 KB
- Stars: 12
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## sysctl
[](https://github.com/Oefenweb/ansible-sysfs/actions?query=workflow%3ACI)
[](https://galaxy.ansible.com/Oefenweb/sysctl)
Manage `sysctl` settings.
#### Requirements
* `procps` (will be installed)
#### Variables
* `sysctl_settings`: [default: `[]`]: List of `sysctl` settings
* `sysctl_settings.{n}.name`: [required]: Name of the setting
* `sysctl_settings.{n}.value`: [required]: Value of the setting
* `sysctl_settings.{n}.state`: [default: `present`]: Whether to ensure the setting is present or absent
## Dependencies
None
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.sysctl
vars:
sysctl_settings:
- name: net.ipv4.tcp_fin_timeout
value: 10
```
#### License
MIT
#### Author Information
* Mark van Driel
* Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-sysctl/issues)!