Ansible: Clean Python requirements
[csit.git] / resources / tools / testbed-setup / ansible / roles / tg_sut / tasks / aarch64.yaml
index afaf5cd..433ccc0 100644 (file)
@@ -1,12 +1,12 @@
 ---
 # file: roles/tg_sut/tasks/aarch64.yaml
 
-- name: Configure aarch64 kernel parameters
+- name: Configure {{ ansible_machine }} kernel parameters
   lineinfile:
     path: '/etc/default/grub'
     state: 'present'
     regexp: '^GRUB_CMDLINE_LINUX='
-    line: 'GRUB_CMDLINE_LINUX="isolcpus={{ isolcpus }} nohz_full={{ isolcpus }} rcu_nocbs={{ isolcpus }} intel_iommu=on nmi_watchdog=0 audit=0 nosoftlockup processor.max_cstate=1"'
-  notify: ['Update GRUB']
+    line: 'GRUB_CMDLINE_LINUX="isolcpus={{ grub.isolcpus }} nohz_full={{ grub.nohz_full }} rcu_nocbs={{ grub.rcu_nocbs }} intel_iommu=on nmi_watchdog=0 audit=0 nosoftlockup processor.max_cstate=1"'
+  notify:
+    - 'Update GRUB'
   tags: set-grub
-