You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See the latest Ansible documentation.
# Set vm.swappiness to 5 in /etc/sysctl.conf-sysctl:name:vm.swappinessvalue:5state:present# Remove kernel.panic entry from /etc/sysctl.conf-sysctl:name:kernel.panicstate:absentsysctl_file:/etc/sysctl.conf# Set kernel.panic to 3 in /tmp/test_sysctl.conf-sysctl:name:kernel.panicvalue:3sysctl_file:/tmp/test_sysctl.confreload:no# Set ip forwarding on in /proc and do not reload the sysctl file-sysctl:name:net.ipv4.ip_forwardvalue:1sysctl_set:yes# Set ip forwarding on in /proc and in the sysctl file and reload if necessary-sysctl:name:net.ipv4.ip_forwardvalue:1sysctl_set:yesstate:presentreload:yes
This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.
For more information about Red Hat’s this support of this module, please
refer to this knowledge base article<https://access.redhat.com/articles/rhel-top-support-policies>