Skip to content
Snippets Groups Projects
Commit d9f1649c authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

common: drop congestion control configuration

It's highly unlikely we'll be using anything other than cubic, so there
is no need for this to be configurable.
parent 31fffc5a
No related branches found
No related tags found
No related merge requests found
dns_search_domain: "archlinux.org"
dns_servers: ["127.0.0.1"]
tcp_congestion_control: "cubic"
configure_firewall: true
......
......@@ -54,14 +54,6 @@
service: name=systemd-resolved state={{"stopped" if dns_servers|length == 1 and "127.0.0.1" in dns_servers else "started"}} enabled={{"no" if dns_servers|length == 1 and "127.0.0.1" in dns_servers else "yes"}}
when: configure_network
- name: configure tcp congestion control algorithm
sysctl:
name: net.ipv4.tcp_congestion_control
value: "{{tcp_congestion_control}}"
sysctl_set: yes
sysctl_file: /etc/sysctl.d/net.conf
when: tcp_congestion_control is defined
- name: configure tcp receive window limits
sysctl:
name: net.ipv4.tcp_rmem
......
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