Ansible: Cleanup and speedup
[csit.git] / resources / tools / testbed-setup / ansible / roles / calibration / tasks / main.yaml
index 17be800..c3c96ac 100644 (file)
@@ -1,18 +1,14 @@
 ---
 # file: roles/calibration/tasks/main.yaml
 
-- name: Ubuntu specific
-  import_tasks: ubuntu.yaml
-  when: ansible_distribution|lower == 'ubuntu'
-
 - name: Run Spectre Meltdown checker
-  raw: 'spectre-meltdown-checker --no-color'
+  raw: 'wget -qO - https://meltdown.ovh | sudo bash -s - --no-color || true'
   register: spectre_meltdown_output
   tags: run-spectre-meltdown-checker
 
 - debug: var=spectre_meltdown_output.stdout_lines
   tags: run-spectre-meltdown-checker
 
-- name: x86 specific
-  import_tasks: x86_64.yaml
-  when: ansible_machine == 'x86_64'
+- name: Machine specifics
+  include_tasks: '{{ ansible_machine }}.yaml'
+  tags: run-jitter-tool