From cb09f77b6864b27b9e3d45a94aa5789a0b54d27f Mon Sep 17 00:00:00 2001 From: Ruakij Date: Fri, 9 Oct 2026 14:37:23 +0000 Subject: [PATCH] Enable TCP BBR with the fq qdisc on kernels from 4.9 in the common role --- common/tasks/networking.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common/tasks/networking.yml b/common/tasks/networking.yml index 50b6f77..ecbc60d 100644 --- a/common/tasks/networking.yml +++ b/common/tasks/networking.yml @@ -47,3 +47,13 @@ content: | net.ipv6.conf.all.accept_ra = 2 notify: reload_sysctl + +- name: Set sysctl settings for TCP BBR + copy: + dest: "/etc/sysctl.d/tcp-bbr.conf" + content: | + net.core.default_qdisc = fq + net.ipv4.tcp_congestion_control = bbr + when: + - ansible_kernel is version('4.9', '>=') + notify: reload_sysctl