diff options
author | pmikus <pmikus@cisco.com> | 2021-09-24 11:35:51 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-09-24 11:37:14 +0000 |
commit | e237fa79700b2d0f642961105cf77d150db836a6 (patch) | |
tree | 64b3bddd2c15c3a828364ba7fc8f3b13bcff92a1 | |
parent | 24ac249f52f81e60492320cd6095d7e304a1db93 (diff) |
fix(Ansible): Kernel param check
+ Temporary fix until i write more complex logic
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ibbcf1a0212da568aa37a9fdc9198cc7a50df9c61
(cherry picked from commit b3b10f0a3b14dfde7f2b16bc33a6f82fe2fd1665)
-rw-r--r-- | fdio.infra.ansible/roles/calibration/tasks/main.yaml | 2 |
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 }}" |