2019-02-26 03:49:51 +00:00
|
|
|
---
|
|
|
|
- hosts: all
|
2020-06-04 02:15:43 +00:00
|
|
|
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"
|
2019-02-26 03:49:51 +00:00
|
|
|
roles:
|
|
|
|
- {role: bootstrap}
|
2020-01-02 04:01:24 +00:00
|
|
|
- {role: tmp-mount-fix}
|
2020-04-19 04:26:48 +00:00
|
|
|
- {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}
|
2020-04-18 02:01:27 +00:00
|
|
|
# - {role: docker} # TODO: replace me with a generic container role, podman on EL based distros - Docker on Debian/Ubuntu
|
2019-03-03 22:53:10 +00:00
|
|
|
- {role: tuned}
|
2019-02-26 03:49:51 +00:00
|
|
|
- {role: zfs}
|
|
|
|
- {role: sysctl}
|