13 lines
354 B
YAML
13 lines
354 B
YAML
---
|
|
- name: Restart
|
|
ansible.builtin.service:
|
|
name: tuned
|
|
state: restarted
|
|
become: true
|
|
listen: tuned_restart
|
|
|
|
- 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
|