From 5a1f1b7fa58c082dd359a7b4df700f5df3839bfd Mon Sep 17 00:00:00 2001 From: Juraj Linkeš Date: Fri, 23 Jul 2021 13:20:52 +0200 Subject: Ansible: iavf driver install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * move iavf driver install from vpp_device to intel role * differentiate the names of tasks of various drivers to get better ansible logs * add .5 sleep when creating VFs with iavf to avoid improper init * fix install commands * add XL710QDA2 NIC to supported i40e NICs Change-Id: Id50e1552a322b9473e58222bfed3405d2d73c824 Signed-off-by: Juraj Linkeš --- .../roles/vpp_device/tasks/main.yaml | 29 ---------------------- 1 file changed, 29 deletions(-) (limited to 'fdio.infra.ansible/roles/vpp_device/tasks/main.yaml') diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml index 9509771a92..d12fe1edf5 100644 --- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml +++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml @@ -129,32 +129,3 @@ - "Update GRUB" tags: - set-grub - -- name: Download iAVF driver - get_url: - url: "{{ iavf_url }}" - dest: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}.tar.gz" - validate_certs: False - mode: 0644 - tags: - - install-iavf - -- name: Extract iAVF driver - unarchive: - remote_src: true - src: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}.tar.gz" - dest: "{{ iavf_target_dir }}/" - creates: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}/src/" - tags: - - install-iavf - -- name: Compile iAVF driver - command: "make install" - args: - chdir: "{{ iavf_target_dir }}/iavf-{{ iavf_version }}/src/" - notify: - - "Reboot server" - tags: - - install-iavf - -- meta: flush_handlers -- cgit 1.2.3-korg