aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
diff options
context:
space:
mode:
authorvagrant <pmikus@cisco.com>2020-02-04 14:16:01 +0000
committerPeter Mikus <pmikus@cisco.com>2020-02-07 20:08:43 +0000
commit8605f3f406468f57bb9b2eac12a4421f65965300 (patch)
tree5eef32ff0298ab1c3ac593adced4a502d7c8ea17 /resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
parentd7e14a0a93e7e06047daeaf6a5575f227aeb925a (diff)
CSIT Azure integration
+ Terraform + Ansible Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I353511c5ef39d8c8d43fedc61c8dbb30b4821e1b
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml26
1 files changed, 19 insertions, 7 deletions
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 c3c96ac499..462f72788c 100644
--- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
@@ -1,14 +1,26 @@
---
# file: roles/calibration/tasks/main.yaml
-- name: Run Spectre Meltdown checker
- raw: 'wget -qO - https://meltdown.ovh | sudo bash -s - --no-color || true'
+- name: Calibration - Install Distribution - Release - Machine Prerequisites
+ package:
+ name: "{{ packages | flatten(levels=1) }}"
+ state: latest
+ update_cache: true
+ tags:
+ - install-dependencies
+
+- name: Calibration - Run Spectre Meltdown Checker
+ raw: "wget -qO - https://meltdown.ovh | sudo bash -s - --no-color || true"
register: spectre_meltdown_output
- tags: run-spectre-meltdown-checker
+ tags:
+ - run-spectre-meltdown-checker
- debug: var=spectre_meltdown_output.stdout_lines
- tags: run-spectre-meltdown-checker
+ tags:
+ - run-spectre-meltdown-checker
-- name: Machine specifics
- include_tasks: '{{ ansible_machine }}.yaml'
- tags: run-jitter-tool
+- name: Calibration - {{ ansible_machine }} Specific
+ include_tasks: "{{ ansible_machine }}.yaml"
+ when: ansible_machine == "x86_64"
+ tags:
+ - run-jitter-tool