deploy-base/play.yml

52 lines
1.6 KiB
YAML
Raw Normal View History

2019-02-26 03:49:51 +00:00
---
- hosts: all
vars:
tuned_base_profile: "network-latency"
tuned_custom_profile:
name: tweaks
sections:
- name: main
params:
- option: summary
value: "Custom tuned profile created by jlay - virt. IO scheduler, TCP, etc"
- option: include
value: "{{ tuned_base_profile }}"
2021-04-05 05:16:05 +00:00
- name: virtsched
params:
2021-04-05 05:16:05 +00:00
- option: type
value: "disk"
- option: devices_udev_regex
value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)"
- option: elevator
value: "mq-deadline"
2021-04-05 05:16:05 +00:00
- name: ssdnosched
params:
- option: type
value: "disk"
- option: devices_udev_regex
value: "(ID_ATA_ROTATION_RATE_RPM=0)"
- option: elevator
value: "none"
- name: sysctl
params:
- option: net.core.default_qdisc
value: "fq"
- option: net.ipv4.tcp_congestion_control
value: "bbr"
2021-04-05 05:16:05 +00:00
- option: net.core.rmem_max
value: "4194304"
- option: net.core.wmem_max
value: "1048576"
2019-02-26 03:49:51 +00:00
roles:
- {role: bootstrap}
- {role: tuned}
2020-01-02 04:01:24 +00:00
- {role: tmp-mount-fix}
- {role: install-packages}
2019-02-26 03:49:51 +00:00
- {role: update-packages}
2019-07-07 06:30:57 +00:00
- {role: fedora-upgrade}
2019-02-26 03:49:51 +00:00
- {role: create-user}
- {role: hardening}
# - {role: docker} # TODO: replace me with a generic container role, podman on EL based distros - Docker on Debian/Ubuntu
2019-02-26 03:49:51 +00:00
- {role: zfs}
- {role: sysctl}