No description
Find a file
semantic-release-bot 28c7a91930 chore(release): 1.5.0 [skip ci]
# [1.5.0](https://github.com/de-it-krachten/ansible-role-sysctl/compare/v1.4.0...v1.5.0) (2026-03-15)

### Bug Fixes

* Leave system-wide configuration files ([cb70d08](cb70d081ac))

### Features

* Drop support for openSUSE Leap 15 ([7ae3ac9](7ae3ac90ef))
* Drop support for SUSE Linux Enterprise 15 ([6c61512](6c61512b11))
2026-03-15 11:41:33 +00:00
.github/workflows Update CI 2026-03-14 20:04:44 +01:00
defaults fix: Leave system-wide configuration files 2026-03-13 16:36:59 +01:00
meta Update CI 2026-03-14 20:04:44 +01:00
molecule/default Update CI 2026-03-14 20:04:44 +01:00
tasks fix: Leave system-wide configuration files 2026-03-13 16:36:59 +01:00
.ansible-lint feat: Initial release 2024-04-12 22:10:30 +02:00
.cicd Update CI 2026-03-07 01:06:41 +01:00
.cicd.overwrite Update CI 2026-03-14 20:04:44 +01:00
.collections feat: Initial release 2024-04-12 22:10:30 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 13:07:00 +01:00
.releaserc.yml Update CI 2026-03-07 01:06:41 +01:00
.roles feat: Initial release 2024-04-12 22:10:30 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 13:07:00 +01:00
CHANGELOG.md chore(release): 1.5.0 [skip ci] 2026-03-15 11:41:33 +00:00
README.md Update CI 2026-03-14 20:04:44 +01:00

CI

ansible-role-sysctl

Installs/configures/manages sysctl

Dependencies

Roles

None

Collections

  • ansible.posix

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# dict of sysctl settings
sysctl_settings: {}

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'sysctl'
  hosts: all
  become: 'yes'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    sysctl_settings:
      net.ipv4.conf.default.rp_filter: '1'
      net.ipv4.ip_forward: '1'
      net.ipv4.ip_nonlocal_bind: '1'
  tasks:
    - name: Include role 'sysctl'
      ansible.builtin.include_role:
        name: sysctl