deploy-base/roles/tuned/tasks/main.yml

22 lines
419 B
YAML
Raw Normal View History

2019-02-26 03:49:51 +00:00
---
2019-06-19 04:46:43 +00:00
- name: install packages
package:
name: "{{ item }}"
state: latest
with_items:
- tuned
- tuned-utils
- name: start service
service:
name: tuned
enabled: yes
state: started
#- include_tasks: deb.yml
# when: ansible_distribution in ["Debian", "Ubuntu"]
2019-02-26 03:49:51 +00:00
2019-06-19 04:46:43 +00:00
#- include_tasks: el.yml
# when: ansible_distribution in ["CentOS" , "Red Hat Enterprise Linux", "Fedora"] and not is_atomic