From 42ed67a3d0fca329eebe1c0a71b32641ec63a8ba Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Wed, 3 Jun 2020 21:23:25 -0500 Subject: [PATCH] add sysctl tuning via tuned to playbook --- play.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/play.yml b/play.yml index dd93ece..c87d318 100644 --- a/play.yml +++ b/play.yml @@ -17,8 +17,15 @@ value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)" - option: elevator value: "mq-deadline" + - name: sysctl + params: + - option: net.core.default_qdisc + value: "fq" + - option: net.ipv4.tcp_congestion_control + value: "bbr" roles: - {role: bootstrap} + - {role: tuned} - {role: tmp-mount-fix} - {role: install-packages} - {role: update-packages} @@ -26,6 +33,5 @@ - {role: create-user} - {role: hardening} # - {role: docker} # TODO: replace me with a generic container role, podman on EL based distros - Docker on Debian/Ubuntu - - {role: tuned} - {role: zfs} - {role: sysctl}