X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Fintel%2Ftasks%2Fqat.yaml;h=1040e450564cc84cb73fbec8a3dca63f7ba3c32f;hb=0df9e00977e03e1dfbbeaa8ea4281671cdecd698;hp=6854755f4ec51a4d31c32c396a9b17d9bbdbf653;hpb=575941328d025997c20ee30e7f85835a9510415e;p=csit.git diff --git a/fdio.infra.ansible/roles/intel/tasks/qat.yaml b/fdio.infra.ansible/roles/intel/tasks/qat.yaml index 6854755f4e..1040e45056 100644 --- a/fdio.infra.ansible/roles/intel/tasks/qat.yaml +++ b/fdio.infra.ansible/roles/intel/tasks/qat.yaml @@ -35,10 +35,23 @@ chdir: "{{ intel_extract_dir }}/QAT20.L.{{ qat }}" become: true with_items: + - "wget http://security.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_249.11-0ubuntu3.7_amd64.deb" + - "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: + - intel-inst + +- name: Load Kernel Modules By Default + ansible.builtin.lineinfile: + path: "/etc/modules" + state: "present" + line: "{{ item }}" + with_items: + - "qat_4xxx" tags: - intel-inst \ No newline at end of file