aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-04-28 12:50:18 +0000
committerPeter Mikus <pmikus@cisco.com>2020-05-07 06:58:07 +0000
commitaa138e679a331e368a86f26d5f4ece03be16f3d4 (patch)
treed0169b2657a8b68db90b04a5ea77a68b2e4077c3 /resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml
parent48cd54ff00049d58494834d25d3f0ac846ce4017 (diff)
Ansible: Pre-check tests
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I745ceb519220c4d08951dff07350f2f4709f3533
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml
index f7c37a764c..5be9fa93a5 100644
--- a/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml
@@ -1,6 +1,7 @@
---
# file: roles/calibration/defaults/main.yaml
+# Packages to install.
packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}"
packages_base:
@@ -17,6 +18,16 @@ packages_by_arch:
x86_64:
- []
+# Kernel version to check.
+kernel_version: "{{ kernel_version_by_distro_by_arch[ansible_distribution | lower][ansible_machine] | join(' ') }}"
+
+kernel_version_by_distro_by_arch:
+ ubuntu:
+ x86_64:
+ - "4.15.0-72-generic"
+ aarch64:
+ - "4.15.0-54-generic"
+
pma_directory: "/tmp/pma_tools"
jitter_core: 7
-jitter_iterations: 30
+jitter_iterations: 20