tuned: update Apt caches, custom profile on RHEL, +realtime
This commit is contained in:
parent
f931d40998
commit
ab781c6e10
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
---
|
||||
|
||||
- name: update apt caches
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: (ansible_os_family in ["Debian"] )
|
||||
|
||||
- name: install packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
|
@ -7,6 +12,7 @@
|
|||
with_items:
|
||||
- tuned
|
||||
- tuned-utils
|
||||
- tuned-profiles-realtime
|
||||
|
||||
- name: start service
|
||||
service:
|
||||
|
@ -22,4 +28,4 @@
|
|||
|
||||
- name: deploy {{ tuned_custom_profile }} based on {{ tuned_base_profile }}
|
||||
include: configure-custom-profile.yml
|
||||
when: (ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "Fedora" ] and not is_atomic)
|
||||
when: (ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "RedHat", "Fedora" ] and not is_atomic)
|
||||
|
|
Loading…
Reference in a new issue