system/tasks/tasks.sysctl.yml
2023-11-07 18:54:45 +01:00

20 lines
474 B
YAML

---
- name: Disable IPV6
ansible.builtin.template:
src: sysctl.d/40-ipv6.j2
dest: /etc/sysctl.d/40-ipv6.conf
owner: root
group: root
mode: "0644"
notify: Restart_sysctl
become: true
- name: set ip_unprivileged_port_start
ansible.builtin.template:
src: sysctl.d/40-ip_unprivileged_port_start.j2
dest: /etc/sysctl.d/40-ip_unprivileged_port_start.conf
owner: root
group: root
mode: "0644"
notify: Restart_sysctl
become: true