ansible/roles/common/tasks/tuned.yml

29 lines
550 B
YAML
Raw Permalink Normal View History

2023-09-25 08:40:20 +00:00
# 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