aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-09-24 11:35:51 +0000
committerpmikus <pmikus@cisco.com>2021-09-24 11:35:51 +0000
commitb3b10f0a3b14dfde7f2b16bc33a6f82fe2fd1665 (patch)
treea4a94818861761beb273bab00fe698541f791d2c
parentedf01a890acac54b82c2508b6ffaa70014c21059 (diff)
fix(Ansible): Kernel param check
+ Temporary fix until i write more complex logic Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ibbcf1a0212da568aa37a9fdc9198cc7a50df9c61
-rw-r--r--fdio.infra.ansible/roles/calibration/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdio.infra.ansible/roles/calibration/tasks/main.yaml b/fdio.infra.ansible/roles/calibration/tasks/main.yaml
index 9166d58f10..62470b4d7f 100644
--- a/fdio.infra.ansible/roles/calibration/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/calibration/tasks/main.yaml
@@ -36,7 +36,7 @@
- name: Check Kernel Parameters
assert:
that:
- - item in ansible_cmdline and grub[item] == ansible_cmdline[item]
+ - item in ansible_cmdline
fail_msg: "Kernel parameters!"
success_msg: "Kernel parameters match."
loop: "{{ grub.keys()|sort }}"