initial commit

This commit is contained in:
Josh Lay 2019-02-25 21:49:51 -06:00
commit 800836b2d9
23 changed files with 609 additions and 0 deletions

15
roles/tuned/tasks/el.yml Normal file
View 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

View 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