Ansible: Mount /tmp as tmpfs
[csit.git] / resources / tools / testbed-setup / ansible / roles / performance_tuning / tasks / main.yaml
index e28f9ba..4605783 100644 (file)
@@ -9,6 +9,11 @@
   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"
   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"