Skip to content
Snippets Groups Projects
Commit ca8ae64b authored by Trung Nguyen's avatar Trung Nguyen
Browse files

Merge branch '90-network' into 'master'

Adding network config for sysctl

See merge request hpc-team/ansible_cluster_in_a_box!267

Former-commit-id: ae7561ea
parents da7e1a19 a90b9355
No related branches found
No related tags found
No related merge requests found
net.ipv4.tcp_max_syn_backlog=30000
net.ipv4.conf.all.accept_redirects=0
net.ipv4.udp_rmem_min=8192
net.ipv4.tcp_congestion_control=htcp
net.core.default_qdisc=fq_codel
net.ipv4.tcp_rmem=4096 87380 33554432
net.ipv4.tcp_tw_recycle=1
net.ipv4.tcp_tw_reuse=1
net.core.optmem_max=4194304
net.ipv4.tcp_slow_start_after_idle=0
net.core.wmem_max=33554432
net.ipv4.conf.all.send_redirects=0
net.core.netdev_budget=600
net.ipv4.tcp_fack=1
net.netfilter.nf_conntrack_max=1024000
net.ipv4.tcp_fastopen=1
net.ipv4.conf.all.log_martians=0
net.core.netdev_max_backlog=50000
net.ipv4.tcp_ecn=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_mtu_probing=1
net.ipv4.tcp_wmem=4096 65536 33554432
net.nf_conntrack_max=1024000
net.core.somaxconn=1024
net.ipv4.tcp_fin_timeout=10
net.ipv4.tcp_sack=1
kernel.pid_max=4194303
net.core.rmem_max=33554432
net.ipv4.udp_wmem_min=8192
net.ipv4.tcp_dsack=1
- name: reload sysctl
sysctl:
reload: yes
---
- name: copying networking config for sysctl
copy:
mode: '640'
src: 90-network.conf
dest: '/etc/sysctl.d'
become: true
become_user: root
- name: Reloading sysctl
notify:
- "reload sysctl"
become: true
become_user: root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment