tags:
- install-dependencies
+- name: Performance Tuning - Distribution - release - machine optimizations
+ include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
+ tags:
+ - machine-optimizations
+
- name: Performance Tuning - Configure {{ ansible_machine }} Kernel Parameters
lineinfile:
path: "/etc/default/grub"
state: "present"
regexp: "^GRUB_CMDLINE_LINUX="
- line: "{{ grub_cmdline_linux[ansible_machine] }}"
+ line: "{{ grub_cmdline_linux[ansible_machine] | join() }}"
notify:
- "Update GRUB"
- "Reboot server"
tags:
- copy-cpufrequtils
+- name: Performance Tuning - Copy Irqbalance File
+ template:
+ src: "files/irqbalance"
+ dest: "/etc/default/irqbalance"
+ owner: "root"
+ group: "root"
+ mode: "0644"
+ tags:
+ - copy-irqbalance
+
- name: Performance Tuning - Set Ondemand Service To Disable
service:
name: "ondemand"