Add a tuned role that installs tuned and sets the throughput-performance profile

This commit is contained in:
2026-10-09 14:37:25 +00:00
parent 381f3ab7c9
commit 844e017f9e
5 changed files with 23 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
tuned:
profile:
+6
View File
@@ -0,0 +1,6 @@
- name: Install Packages
package:
name:
- tuned
- tuned-utils
- tuned-utils-systemtap
+5
View File
@@ -0,0 +1,5 @@
- import_tasks: ./install-packages.yml
- import_tasks: ./setup-service.yml
- import_tasks: ./set-profile.yml
+5
View File
@@ -0,0 +1,5 @@
- name: Set profile
command: tuned-adm profile throughput-performance
register: command
failed_when:
- "command.rc != 0"
+5
View File
@@ -0,0 +1,5 @@
- name: Make sure service is started
service:
name: tuned
enabled: true
state: "started"