31 lines
961 B
YAML
31 lines
961 B
YAML
---
|
|
- 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 }}"
|
|
- name: disk
|
|
params:
|
|
- option: devices_udev_regex
|
|
value: "(ID_MODEL=QEMU_HARDDISK)|(ID_VENDOR=HC)"
|
|
- option: elevator
|
|
value: "mq-deadline"
|
|
roles:
|
|
- {role: bootstrap}
|
|
- {role: tmp-mount-fix}
|
|
- {role: install-packages}
|
|
- {role: update-packages}
|
|
- {role: fedora-upgrade}
|
|
- {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}
|