29 lines
550 B
YAML
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
|