mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Compare commits
2 commits
98b8acbb02
...
601bb5392f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
601bb5392f | ||
|
|
817b94dee0 |
1 changed files with 5 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue