aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/calibration
diff options
context:
space:
mode:
authorTomas Alexy <tomas.alexy@pantheon.tech>2021-04-01 15:44:14 +0200
committerPeter Mikus <pmikus@cisco.com>2021-04-08 07:37:15 +0000
commit8018da98e0f362bc69fc9600fac222a86fd46b5e (patch)
tree728e9e4c160aa7c8e4dcc784c1a4b30e562f49a1 /resources/tools/testbed-setup/ansible/roles/calibration
parentdb7fb867bfafee8515b1baf0a77c0e683eb38e68 (diff)
Infra: AWS Update to Ubuntu 20.04
- Change AMI image to Ubuntu 20.04 - Add calibration role - Add AWS vfio-patch for kernel 5.8+ - Prepare root module's main.tf to be used with environment variables Signed-off-by: Tomas Alexy <tomas.alexy@pantheon.tech> Change-Id: I7db3f28ba573a5a8a1dc07179ef78ef34ce9ebf3
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/calibration')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml2
-rw-r--r--resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml2
2 files changed, 3 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 5eb945328c..020c0119b1 100644
--- a/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml
@@ -38,7 +38,7 @@ kernel_version_by_distro_by_arch:
x86_64:
- "5.4.0-65-generic"
- "5.3.0-1020-azure"
- - "5.3.0-1017-aws"
+ - "5.4.0-1035-aws"
aarch64:
- "5.4.0-65-generic"
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 5d0c3b18ff..696f1c9265 100644
--- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml
@@ -40,6 +40,8 @@
fail_msg: "Kernel parameters!"
success_msg: "Kernel parameters match."
loop: "{{ grub.keys()|sort }}"
+ when:
+ - grub is defined
tags:
- check-kernel-params