aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
blob: b70694ad31149e0918ba8c13118721d3b69e58a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
# 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'
  register: spectre_meltdown_output
  tags: run-spectre-meltdown-checker

- 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