diff --git a/app/scripts/ansible/roles/haproxy/tasks/syn_flood.yml b/app/scripts/ansible/roles/haproxy/tasks/syn_flood.yml index 9f58e013..e41b1bf3 100644 --- a/app/scripts/ansible/roles/haproxy/tasks/syn_flood.yml +++ b/app/scripts/ansible/roles/haproxy/tasks/syn_flood.yml @@ -6,6 +6,7 @@ state: present reload: yes when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0) + ignore_errors: yes - name: net.ipv4.conf.all.rp_filter @@ -16,6 +17,7 @@ state: present reload: yes when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0) + ignore_errors: yes - name: Enable net.ipv4.tcp_max_syn_backlog sysctl: @@ -25,6 +27,7 @@ state: present reload: yes when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0) + ignore_errors: yes - name: Enable net.ipv4.tcp_synack_retries sysctl: @@ -33,4 +36,5 @@ sysctl_set: yes state: present reload: yes - when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0) \ No newline at end of file + when: (SYN_FLOOD is defined) and (SYN_FLOOD|length > 0) + ignore_errors: yes \ No newline at end of file