From eeaf17d029e6abf77539f708b3fe91a013988fa6 Mon Sep 17 00:00:00 2001 From: jbleclere Date: Tue, 8 Mar 2022 12:28:42 +0000 Subject: [PATCH] Add condition 'xilinx_xrt_ensure_compatible_kernel=True' to execute 'Ensure Kernel headers are installed' stage on rpm too --- tasks/kernel.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/kernel.yml b/tasks/kernel.yml index 8a9f601..ff861cd 100644 --- a/tasks/kernel.yml +++ b/tasks/kernel.yml @@ -15,6 +15,7 @@ when: - ansible_os_family == 'RedHat' - not (xilinx_xrt_container | bool) + - xilinx_xrt_ensure_compatible_kernel | bool - block: - name: Ensure Kernel headers are installed @@ -59,4 +60,3 @@ - ansible_os_family == 'Debian' - not (xilinx_xrt_container | bool) - xilinx_xrt_ensure_compatible_kernel | bool -