FIX: irqbalance settings
[csit.git] / resources / tools / testbed-setup / ansible / roles / performance_tuning / tasks / main.yaml
index 9fedd27..49a2088 100644 (file)
@@ -14,7 +14,7 @@
     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
+  copy:
+    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"