Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT Azure integration
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
calibration
/
tasks
/
main.yaml
diff --git
a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
index
17be800
..
462f727
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
+++ b/
resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
@@
-1,18
+1,26
@@
---
# file: roles/calibration/tasks/main.yaml
---
# file: roles/calibration/tasks/main.yaml
-- name: Ubuntu specific
- import_tasks: ubuntu.yaml
- when: ansible_distribution|lower == 'ubuntu'
+- name: Calibration - Install Distribution - Release - Machine Prerequisites
+ package:
+ name: "{{ packages | flatten(levels=1) }}"
+ state: latest
+ update_cache: true
+ tags:
+ - install-dependencies
-- name:
Run Spectre Meltdown c
hecker
- raw:
'spectre-meltdown-checker --no-color'
+- name:
Calibration - Run Spectre Meltdown C
hecker
+ raw:
"wget -qO - https://meltdown.ovh | sudo bash -s - --no-color || true"
register: spectre_meltdown_output
register: spectre_meltdown_output
- tags: run-spectre-meltdown-checker
+ tags:
+ - run-spectre-meltdown-checker
- debug: var=spectre_meltdown_output.stdout_lines
- debug: var=spectre_meltdown_output.stdout_lines
- tags: run-spectre-meltdown-checker
+ tags:
+ - run-spectre-meltdown-checker
-- name: x86 specific
- import_tasks: x86_64.yaml
- when: ansible_machine == 'x86_64'
+- name: Calibration - {{ ansible_machine }} Specific
+ include_tasks: "{{ ansible_machine }}.yaml"
+ when: ansible_machine == "x86_64"
+ tags:
+ - run-jitter-tool