system/tasks/tasks.sysctl.yml

21 lines
478 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