tuned: release-dependent profile basedir, lint

This commit is contained in:
Josh Lay 2025-07-27 12:34:44 -05:00
parent 0c33dccba8
commit c475723f52
Signed by: jlay
SSH key fingerprint: SHA256:RwEMoWwXniQX1sqHfSD+3z+LKU/TOkv3i1qsy75vfec
4 changed files with 35 additions and 25 deletions

View file

@ -1,8 +1,13 @@
---
- name: restart tuned
service:
- name: Restart
ansible.builtin.service:
name: tuned
state: restarted
become: true
listen: tuned_restart
- name: enable tuned profile
command: "/usr/sbin/tuned-adm profile {{ tuned_custom_profile.name }}"
- name: Enable Profile
ansible.builtin.command: "/usr/sbin/tuned-adm profile {{ tuned_custom_profile.name }}"
become: true
changed_when: true # handler, assumed this would be making/realizing changes
listen: tuned_enable