Skip to content

Oefenweb/ansible-sysctl

Repository files navigation

sysctl

CI Ansible Galaxy

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

---
- 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!