deploy-base/play.yml

32 lines
961 B
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 }}"
- 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}
- {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
- {role: tuned}
2019-02-26 03:49:51 +00:00
- {role: zfs}
- {role: sysctl}