https://github.com/rolehippie/sysctl
Ansible role to configure sysctl settings
https://github.com/rolehippie/sysctl
ansible ansible-role hacktoberfest role
Last synced: 6 months ago
JSON representation
Ansible role to configure sysctl settings
- Host: GitHub
- URL: https://github.com/rolehippie/sysctl
- Owner: rolehippie
- License: apache-2.0
- Created: 2018-08-21T10:32:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-12-29T08:33:50.000Z (6 months ago)
- Last Synced: 2026-01-01T06:37:00.717Z (6 months ago)
- Topics: ansible, ansible-role, hacktoberfest, role
- Language: Nix
- Size: 246 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sysctl
[](https://github.com/rolehippie/sysctl)
[](https://github.com/rolehippie/sysctl/actions/workflows/general.yml)
[](https://github.com/rolehippie/sysctl/actions/workflows/docs.yml)
[](https://github.com/rolehippie/sysctl/actions/workflows/galaxy.yml)
[](https://github.com/rolehippie/sysctl/blob/master/LICENSE)
[](https://galaxy.ansible.com/rolehippie/sysctl)
Ansible role to configure sysctl settings.
## Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like **[Cloudpunks GmbH](https://cloudpunks.de)** and **[Proact Deutschland GmbH](https://www.proact.eu)**.
## Table of contents
- [Requirements](#requirements)
- [Default Variables](#default-variables)
- [sysctl_defaults](#sysctl_defaults)
- [sysctl_extra](#sysctl_extra)
- [Discovered Tags](#discovered-tags)
- [Dependencies](#dependencies)
- [License](#license)
- [Author](#author)
---
## Requirements
- Minimum Ansible version: `2.10`
## Default Variables
### sysctl_defaults
List of global sysctl settings
#### Default value
```YAML
sysctl_defaults: []
```
#### Example usage
```YAML
sysctl_defaults:
- name: net.ipv4.ip_forward
value: 1
- name: net.ipv6.conf.all.forwarding
value: 1
ignoreerrors: true
reload: true
sysctl_file: /etc/sysctl.conf
sysctl_set: true
- name: kernel.panic
state: absent
```
### sysctl_extra
List of extra sysctl settings
#### Default value
```YAML
sysctl_extra: []
```
#### Example usage
```YAML
sysctl_extra:
- name: net.ipv4.ip_forward
value: 1
- name: net.ipv6.conf.all.forwarding
value: 1
ignoreerrors: true
reload: true
sysctl_file: /etc/sysctl.conf
sysctl_set: true
- name: kernel.panic
state: absent
```
## Discovered Tags
**_sysctl_**
## Dependencies
- [ansible.posix](https://github.com/ansible-collections/ansible.posix)
## License
Apache-2.0
## Author
[Thomas Boerger](https://github.com/tboerger)