https://github.com/oefenweb/ansible-conntrack
Ansible role to manage (nf_)conntrack in Debian-like systems
https://github.com/oefenweb/ansible-conntrack
Last synced: 11 months ago
JSON representation
Ansible role to manage (nf_)conntrack in Debian-like systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-conntrack
- Owner: Oefenweb
- License: mit
- Created: 2015-09-10T11:17:24.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:02:23.000Z (over 2 years ago)
- Last Synced: 2025-03-16T15:55:20.691Z (over 1 year ago)
- Language: Dockerfile
- Size: 95.7 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## conntrack
[](https://github.com/Oefenweb/ansible-conntrack/actions?query=workflow%3ACI)
[](https://galaxy.ansible.com/Oefenweb/conntrack)
Manage `(nf_)conntrack` in Debian-like systems.
#### Requirements
None
#### Variables
* `conntrack_kernel_modules`: [default: `[]`]: List of kernel modules to load
* `conntrack_kernel_modules.{n}.name`: [required]: Name of the kernel module (e.g. `nf_conntrack`)
* `conntrack_kernel_modules.{n}.params`: [optional, default: `[]`]: List of parameters for this kernel module
* `conntrack_kernel_modules.{n}.params.{n}.name`: [required]: Name of the parameter
* `conntrack_kernel_modules.{n}.params.{n}.value`: [required]: Value of the parameter
* `conntrack_sysctl_settings`: [default: `[]`]: List of `sysctl` settings
* `conntrack_sysctl_settings.{n}.name`: [required]: Name of the `sysctl` setting
* `conntrack_sysctl_settings.{n}.value`: [required]: Value of the `sysctl` setting
## Dependencies
None
#### Example
```yaml
---
- hosts: all
roles:
- oefenweb.conntrack
vars:
conntrack_kernel_modules:
- name: nf_conntrack
params:
- name: hashsize
value: 16384
conntrack_sysctl_settings:
- name: net.netfilter.nf_conntrack_max
value: 65536
```
#### License
MIT
#### Author Information
* Mark van Driel
* Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-conntrack/issues)!