FIX: Ansible warnings of deprecation
[csit.git] / resources / tools / testbed-setup / ansible / roles / calibration / tasks / main.yaml
index b70694a..ba9c466 100644 (file)
@@ -1,9 +1,8 @@
 ---
 # file: roles/calibration/tasks/main.yaml
 
-- name: Ubuntu specific
-  import_tasks: ubuntu.yaml
-  when: ansible_distribution|lower == 'ubuntu'
+- name: Install distribution - release - machine prerequisites
+  include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
 
 - name: Run Spectre Meltdown checker
   raw: 'spectre-meltdown-checker --no-color'
 - debug: var=spectre_meltdown_output.stdout_lines
   tags: run-spectre-meltdown-checker
 
-- name: Clone Jitter tool
-  git:
-    repo: 'https://gerrit.fd.io/r/pma_tools'
-    dest: '{{ jitter.directory }}'
-  tags: run-jitter-tool
-
-- name: Compile Jitter tool
-  raw: 'cd {{ jitter.directory }}/jitter && make'
-  tags: run-jitter-tool
-
-- name: Run Jitter tool
-  raw: '{{ jitter.directory }}/jitter/jitter -c {{ jitter.core }} -i {{ jitter.iterations }} -f'
-  become: yes
-  register: jitter_output
-  tags: run-jitter-tool
-
-- debug: var=jitter_output.stdout_lines
-  tags: run-jitter-tool
+- name: x86 specific
+  import_tasks: x86_64.yaml
+  when: ansible_machine == 'x86_64'