tuned: release-dependent profile basedir, lint
This commit is contained in:
parent
0c33dccba8
commit
c475723f52
4 changed files with 35 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue