add sysctl tuning via tuned to playbook

This commit is contained in:
Josh Lay 2020-06-03 21:23:25 -05:00
parent 9406e7ddfb
commit 42ed67a3d0

View file

@ -17,8 +17,15 @@
value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)" value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)"
- option: elevator - option: elevator
value: "mq-deadline" value: "mq-deadline"
- name: sysctl
params:
- option: net.core.default_qdisc
value: "fq"
- option: net.ipv4.tcp_congestion_control
value: "bbr"
roles: roles:
- {role: bootstrap} - {role: bootstrap}
- {role: tuned}
- {role: tmp-mount-fix} - {role: tmp-mount-fix}
- {role: install-packages} - {role: install-packages}
- {role: update-packages} - {role: update-packages}
@ -26,6 +33,5 @@
- {role: create-user} - {role: create-user}
- {role: hardening} - {role: hardening}
# - {role: docker} # TODO: replace me with a generic container role, podman on EL based distros - Docker on Debian/Ubuntu # - {role: docker} # TODO: replace me with a generic container role, podman on EL based distros - Docker on Debian/Ubuntu
- {role: tuned}
- {role: zfs} - {role: zfs}
- {role: sysctl} - {role: sysctl}