fix(ansible): QAT install flow 79/39279/1 oper-230731
authorpmikus <peter.mikus@protonmail.ch>
Thu, 27 Jul 2023 11:21:39 +0000 (11:21 +0000)
committerpmikus <peter.mikus@protonmail.ch>
Thu, 27 Jul 2023 11:21:39 +0000 (11:21 +0000)
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I4670366b704f0cd999d8a3ba08712b72148078a0

fdio.infra.ansible/roles/intel/tasks/qat.yaml

index 7581069..1040e45 100644 (file)
   become: true
   with_items:
     - "wget http://security.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_249.11-0ubuntu3.7_amd64.deb"
-    - "dpkg-deb -xv libudev-dev_249.11-0ubuntu3.9_amd64.deb ."
-    - "cp ./usr/include/libudev.h /usr/include/libudev.h"
+    - "dpkg -i ./libudev-dev_249.11-0ubuntu3.7_amd64.deb"
     - "./configure --enable-icp-sriov=host --enable-icp-sym-only"
     - "make"
     - "make install"
+    - "apt remove -y libudev-dev"
   when:
     - intel_driver_extracted
   tags: