mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
Compare commits
2 commits
601bb5392f
...
98b8acbb02
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98b8acbb02 | ||
|
|
da3b7810bf |
1 changed files with 8 additions and 2 deletions
|
|
@ -73,13 +73,19 @@ EXAMPLES = r'''
|
|||
state: absent
|
||||
sysctl_file: /etc/sysctl.conf
|
||||
|
||||
# Set kernel.panic to 3 in /tmp/test_sysctl.conf
|
||||
- ansible.posix.sysctl:
|
||||
name: kernel.panic
|
||||
value: '3'
|
||||
sysctl_file: /tmp/test_sysctl.conf
|
||||
reload: false
|
||||
|
||||
# Enable resource limits management in FreeBSD
|
||||
- ansible.posix.sysctl:
|
||||
name: kern.racct.enable
|
||||
value: '1'
|
||||
state: present
|
||||
reload: false
|
||||
sysctl_file: /boot/loader.conf
|
||||
reload: false
|
||||
|
||||
# Set ip forwarding on in /proc and verify token value with the sysctl command
|
||||
- ansible.posix.sysctl:
|
||||
|
|
|
|||
Loading…
Reference in a new issue