2022-02-13 08:01:05 +00:00
|
|
|
---
|
2022-12-10 17:51:03 +00:00
|
|
|
- name: Disable IPV6
|
|
|
|
ansible.builtin.template:
|
2023-11-07 17:34:01 +00:00
|
|
|
src: sysctl.d/40-ipv6.j2
|
2022-02-13 08:01:05 +00:00
|
|
|
dest: /etc/sysctl.d/40-ipv6.conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
2023-11-07 17:34:01 +00:00
|
|
|
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"
|
2023-08-26 14:13:33 +00:00
|
|
|
notify: Restart_sysctl
|
2022-02-13 08:40:15 +00:00
|
|
|
become: true
|