Compare commits

...

2 commits

Author SHA1 Message Date
Pavel Knoblokh
601bb5392f
Merge 817b94dee0 into 44a2151dbf 2025-01-13 04:32:43 +00:00
Pavel Knoblokh
817b94dee0
sysctl: Update custom sysctl file example 2025-01-13 14:18:30 +10:00

View file

@ -73,12 +73,13 @@ EXAMPLES = r'''
state: absent state: absent
sysctl_file: /etc/sysctl.conf sysctl_file: /etc/sysctl.conf
# Set kernel.panic to 3 in /tmp/test_sysctl.conf # Enable resource limits management in FreeBSD
- ansible.posix.sysctl: - ansible.posix.sysctl:
name: kernel.panic name: kern.racct.enable
value: '3' value: '1'
sysctl_file: /tmp/test_sysctl.conf state: present
reload: false reload: false
sysctl_file: /boot/loader.conf
# Set ip forwarding on in /proc and verify token value with the sysctl command # Set ip forwarding on in /proc and verify token value with the sysctl command
- ansible.posix.sysctl: - ansible.posix.sysctl: