15 lines
384 B
YAML
15 lines
384 B
YAML
---
|
|
- name: Set sysctl to allow normal users to bind to ports starting from 80
|
|
sysctl:
|
|
name: net.ipv4.ip_unprivileged_port_start
|
|
value: 80
|
|
state: present
|
|
reload: yes
|
|
|
|
- name: Verify the sysctl setting
|
|
command: sysctl net.ipv4.ip_unprivileged_port_start
|
|
register: sysctl_result
|
|
|
|
- debug:
|
|
msg: "net.ipv4.ip_unprivileged_port_start: {{ sysctl_result.stdout }}"
|