3 Commits

Author SHA1 Message Date
Pavel Knoblokh
4568a5720b Merge 19b08a1461 into ed3d322fd5 2025-03-26 23:57:26 +00:00
Pavel Knoblokh
19b08a1461 Merge branch 'ansible-collections:main' into sysctl-loader-example 2025-03-27 09:57:23 +10:00
Pavel Knoblokh
da3b7810bf sysctl: Add custom sysctl file example 2025-03-26 17:42:02 +10:00

View File

@@ -80,6 +80,13 @@ EXAMPLES = r'''
sysctl_file: /tmp/test_sysctl.conf
reload: false
# Enable resource limits management in FreeBSD
- ansible.posix.sysctl:
name: kern.racct.enable
value: '1'
sysctl_file: /boot/loader.conf
reload: false
# Set ip forwarding on in /proc and verify token value with the sysctl command
- ansible.posix.sysctl:
name: net.ipv4.ip_forward