--- - name: Allow normal users to bind to port 80 hosts: all become: yes tasks: - 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 }}"