ensure 'tuned-ppd' is absent (Fedora 41), +gamescope RT

This commit is contained in:
Josh Lay 2024-11-09 04:04:25 -06:00
parent 1c96e21f6f
commit e4d6723c8c
No known key found for this signature in database
GPG key ID: 47AA304B2243B579
2 changed files with 48 additions and 0 deletions

View file

@ -22,6 +22,12 @@
state: present
become: true
- name: Ensure 'tuned-ppd' is absent
ansible.builtin.package:
name: tuned-ppd
state: absent
become: true
- name: Find bundled 'tuned' profiles
ansible.builtin.find:
paths:
@ -85,6 +91,15 @@
notify: Restart tuned
become: true
- name: Copy gamescope RT capability script
ansible.builtin.copy:
src: rt_gamescope.sh
dest: /etc/tuned/rt_gamescope.sh
owner: root
group: root
mode: '0755'
become: true
- name: Template tuned.conf for custom profiles
ansible.builtin.template:
src: templates/tuned.conf.j2