We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe4431 commit 76fd50eCopy full SHA for 76fd50e
ansible/tasks/setup-system.yml
@@ -183,3 +183,17 @@
183
ansible.posix.sysctl:
184
name: 'net.ipv4.ip_local_port_range'
185
value: '1025 65000'
186
+
187
+#Set Sysctl params specific to keepalives
188
+- name: Set net.ipv4.tcp_keepalive_time=1800
189
+ ansible.builtin.sysctl:
190
+ name: net.ipv4.tcp_keepalive_time
191
+ value: 1800
192
+ state: present
193
+ when: debpkg_mode or nixpkg_mode
194
+- name: Set net.ipv4.tcp_keepalive_intvl=60
195
196
+ name: net.ipv4.tcp_keepalive_intvl
197
+ value: 60
198
199
0 commit comments