From e237fa79700b2d0f642961105cf77d150db836a6 Mon Sep 17 00:00:00 2001 From: pmikus Date: Fri, 24 Sep 2021 11:35:51 +0000 Subject: fix(Ansible): Kernel param check + Temporary fix until i write more complex logic Signed-off-by: pmikus Change-Id: Ibbcf1a0212da568aa37a9fdc9198cc7a50df9c61 (cherry picked from commit b3b10f0a3b14dfde7f2b16bc33a6f82fe2fd1665) --- fdio.infra.ansible/roles/calibration/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fdio.infra.ansible/roles') 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 }}" -- cgit 1.2.3-korg