mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
sysctl: Update custom sysctl file example
This commit is contained in:
parent
44a2151dbf
commit
817b94dee0
1 changed files with 5 additions and 4 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue