From 4b3893704a47cbfbe9986ade3745ad3d9ebcc304 Mon Sep 17 00:00:00 2001 From: pmikus Date: Fri, 4 Aug 2023 10:27:17 +0000 Subject: fix(ansible): QAT v1.x install Signed-off-by: pmikus Change-Id: I2e2047f3d02a1c4f90298cb15f2574e5ea6a7ad4 --- fdio.infra.ansible/roles/intel/tasks/qat.yaml | 57 --------------------------- 1 file changed, 57 deletions(-) delete mode 100644 fdio.infra.ansible/roles/intel/tasks/qat.yaml (limited to 'fdio.infra.ansible/roles/intel/tasks/qat.yaml') diff --git a/fdio.infra.ansible/roles/intel/tasks/qat.yaml b/fdio.infra.ansible/roles/intel/tasks/qat.yaml deleted file mode 100644 index 1040e45056..0000000000 --- a/fdio.infra.ansible/roles/intel/tasks/qat.yaml +++ /dev/null @@ -1,57 +0,0 @@ ---- -# file: tasks/qat.yaml - -- name: Get QAT Driver - ansible.builtin.uri: - url: "{{ intel_download_url }}/{{ intel_qat_url[qat] }}" - follow_redirects: "all" - force: true - dest: "{{ intel_extract_dir }}/QAT20.L.{{ qat }}.tar.gz" - mode: "0644" - failed_when: false - tags: - - intel-inst - -- name: Create a Directory For QAT Driver - ansible.builtin.file: - path: "{{ intel_extract_dir }}/QAT20.L.{{ qat }}/" - state: "directory" - mode: "0755" - tags: - - intel-inst - -- name: Extract QAT Driver - ansible.builtin.unarchive: - remote_src: true - src: "{{ intel_extract_dir }}/QAT20.L.{{ qat }}.tar.gz" - dest: "{{ intel_extract_dir }}/QAT20.L.{{ qat }}/" - register: intel_driver_extracted - tags: - - intel-inst - -- name: Install QAT Driver - ansible.builtin.command: "{{ item }}" - args: - 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 -- cgit 1.2.3-korg