fix(ansible): QAT install flow
[csit.git] / fdio.infra.ansible / roles / intel / tasks / qat.yaml
index 6854755..1040e45 100644 (file)
     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