diff --git a/roles/rocky9/tasks/ip_spoofing.yml b/roles/rocky9/tasks/ip_spoofing.yml deleted file mode 100644 index 757ab8b..0000000 --- a/roles/rocky9/tasks/ip_spoofing.yml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# Активируем защиту от IP-спуфинга. -- ansible.posix.sysctl: - name: net.ipv4.conf.default.rp_filter - value: 1 - state: present - sysctl_file: /etc/sysctl.d/ip_spoofing.conf -- ansible.posix.sysctl: - name: net.ipv4.conf.all.rp_filter - value: 1 - state: present - sysctl_file: /etc/sysctl.d/ip_spoofing.conf -- ansible.posix.sysctl: - name: net.ipv4.conf.lo.rp_filter - value: 1 - state: present - sysctl_file: /etc/sysctl.d/ip_spoofing.conf diff --git a/roles/rocky9/tasks/sysctl_tuning.yml b/roles/rocky9/tasks/sysctl_tuning.yml index e56ce0e..2fa2387 100644 --- a/roles/rocky9/tasks/sysctl_tuning.yml +++ b/roles/rocky9/tasks/sysctl_tuning.yml @@ -5,9 +5,6 @@ - name: TCP/UDP Tuning ansible.builtin.include_tasks: tcp_tune.yml -- name: IP ip_spoofing - ansible.builtin.include_tasks: ip_spoofing.yml - - name: IP Forwarding ansible.builtin.include_tasks: ip_forward.yml