add sysctl tuning via tuned to playbook
This commit is contained in:
parent
9406e7ddfb
commit
42ed67a3d0
1 changed files with 7 additions and 1 deletions
8
play.yml
8
play.yml
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue