Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boutetnico/ansible-role-sysctl
Manipulate sysctl entries using Ansible.
https://github.com/boutetnico/ansible-role-sysctl
ansible debian sysctl ubuntu
Last synced: about 5 hours ago
JSON representation
Manipulate sysctl entries using Ansible.
- Host: GitHub
- URL: https://github.com/boutetnico/ansible-role-sysctl
- Owner: boutetnico
- License: mit
- Created: 2019-09-21T12:30:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T09:40:38.000Z (3 months ago)
- Last Synced: 2024-08-06T11:36:47.958Z (3 months ago)
- Topics: ansible, debian, sysctl, ubuntu
- Language: Jinja
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![tests](https://github.com/boutetnico/ansible-role-sysctl/workflows/Test%20ansible%20role/badge.svg)](https://github.com/boutetnico/ansible-role-sysctl/actions?query=workflow%3A%22Test+ansible+role%22)
[![Ansible Galaxy](https://img.shields.io/badge/galaxy-boutetnico.sysctl-blue.svg)](https://galaxy.ansible.com/boutetnico/sysctl)ansible-role-sysctl
===================This role manipulates sysctl entries.
Requirements
------------Ansible 2.10 or newer.
Supported Platforms
-------------------- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)
- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)
- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)
- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)Role Variables
--------------| Variable | Required | Default | Choices | Comments |
|---------------------|----------|-------------|-----------|--------------------------------------|
| sysctl_dependencies | yes | `[procps]` | list | |
| sysctl_entries | yes | `[]` | list | See `defaults/main.yml` for example. |Dependencies
------------None
Example Playbook
----------------- hosts: all
roles:
- ansible-role-sysctl
sysctl_entries:
- name: vm.overcommit_memory
value: 1Testing
-------molecule test
License
-------MIT
Author Information
------------------[@boutetnico](https://github.com/boutetnico)