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