ansible/roles/common/tasks/tuned.yml
2023-09-25 10:40:20 +02:00

29 lines
550 B
YAML

# 2023-09-25
# Tasks: tuned
---
- ansible.builtin.include_vars: tuned.yml
- name: Install tuned
ansible.builtin.apt:
name: "{{ packages_needed }}"
install_recommends: false
when:
- ansible_facts['system'] == "Linux"
- ansible_facts['os_family'] == "Debian"
tags:
- apt
- packages
- add
- name: Select tuned profile
command: tuned-adm profile virtual-guest
when:
- ansible_facts['system'] == "Linux"
- ansible_facts['os_family'] == "Debian"
tags:
- system
- service
- tuned
- profile