added role tco.tuned
This commit is contained in:
18
tasks/main.yml
Normal file
18
tasks/main.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
# tasks file for tco.tuned
|
||||
- name: "[tuned] - install"
|
||||
package:
|
||||
name: tuned
|
||||
state: present
|
||||
|
||||
- name: "[tuned] - service"
|
||||
ansible.builtin.service:
|
||||
name: tuned
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: "[tuned] - select profile"
|
||||
copy:
|
||||
content: "{{ tuned_profile }}"
|
||||
dest: /etc/tuned/active_profile
|
||||
notify: restart tuned
|
||||
Reference in New Issue
Block a user