initial commit
This commit is contained in:
commit
800836b2d9
23 changed files with 609 additions and 0 deletions
15
roles/tuned/tasks/el.yml
Normal file
15
roles/tuned/tasks/el.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
|
||||
- name: install packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: latest
|
||||
with_items:
|
||||
- tuned
|
||||
- tuned-utils
|
||||
|
||||
- name: start service
|
||||
service:
|
||||
name: tuned
|
||||
enabled: yes
|
||||
state: started
|
7
roles/tuned/tasks/main.yml
Normal file
7
roles/tuned/tasks/main.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
|
||||
- include_tasks: deb.yml
|
||||
when: ansible_distribution in ["Debian", "Ubuntu"]
|
||||
|
||||
- include_tasks: el.yml
|
||||
when: ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "Fedora"] and not is_atomic
|
Loading…
Add table
Add a link
Reference in a new issue