aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-07-30 08:47:15 +0000
committerPeter Mikus <pmikus@cisco.com>2021-09-24 04:19:31 +0000
commit93285a12d79b2b14f4e6dad9faf450a51149ca37 (patch)
tree33aacfb5856379b961c80a379236b27610cad606 /fdio.infra.ansible/roles/intel/tasks/iavf.yaml
parentd5a815e56dc6a5aeb48b9bc9e063d4ecc167112d (diff)
Ansible: Intel driver compatibility matrix
+ implements Intel Ethernet 700/800 series driver installation based on compatiblity matrix + includes iavf, i40, ice, ddp driver/profiles installation + patch abstracts multiple compatibility scenarios (dpdk, intel product materials, custom override) and could be applied per testbed + if no matrix choosen, default operating system drivers are used Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ifbdbf8c2ebc48d81941e66698708a2e0ff57b7de
Diffstat (limited to 'fdio.infra.ansible/roles/intel/tasks/iavf.yaml')
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/iavf.yaml21
1 files changed, 12 insertions, 9 deletions
diff --git a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
index dfdb496085..44040cfd7e 100644
--- a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
@@ -2,19 +2,22 @@
# file: roles/intel/tasks/iavf.yaml
- name: Inst - Get iavf Network Adapter Driver
- get_url:
- url: "{{ intel_iavf_driver_url }}"
- dest: "{{ intel_iavf_driver_dir }}/iavf-{{ intel_iavf_version }}.tar.gz"
- mode: 0644
+ uri:
+ url: "{{ intel_sourceforge_download_url }}/{{ intel_iavf_url[iavf] }}"
+ follow_redirects: "all"
+ force: true
+ dest: "{{ intel_extract_dir }}/iavf-{{ iavf }}.tar.gz"
+ mode: "0644"
+ failed_when: false
tags:
- intel-inst
- name: Inst - Extract iavf Network Adapter Driver
unarchive:
remote_src: true
- src: "{{ intel_iavf_driver_dir }}/iavf-{{ intel_iavf_version }}.tar.gz"
- dest: "{{ intel_iavf_driver_dir }}/"
- creates: "{{ intel_iavf_driver_dir }}/iavf-{{ intel_iavf_version }}"
+ src: "{{ intel_extract_dir }}/iavf-{{ iavf }}.tar.gz"
+ dest: "{{ intel_extract_dir }}/"
+ creates: "{{ intel_extract_dir }}/iavf-{{ iavf }}"
register: intel_driver_extracted
tags:
- intel-inst
@@ -22,12 +25,12 @@
- name: Inst - iavf Network Adapter Driver
command: "{{ item }}"
args:
- chdir: "{{ intel_iavf_driver_dir }}/iavf-{{ intel_iavf_version }}/src"
+ chdir: "{{ intel_extract_dir }}/iavf-{{ iavf }}/src"
+ become: true
with_items:
- "make install"
- "modprobe -r iavf"
- "modprobe iavf"
- failed_when: true
when:
- intel_driver_extracted
tags: