blob: 44040cfd7e9d943f3c64202c68a52e3c0012680e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
---
# file: roles/intel/tasks/iavf.yaml
- name: Inst - Get iavf Network Adapter Driver
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_extract_dir }}/iavf-{{ iavf }}.tar.gz"
dest: "{{ intel_extract_dir }}/"
creates: "{{ intel_extract_dir }}/iavf-{{ iavf }}"
register: intel_driver_extracted
tags:
- intel-inst
- name: Inst - iavf Network Adapter Driver
command: "{{ item }}"
args:
chdir: "{{ intel_extract_dir }}/iavf-{{ iavf }}/src"
become: true
with_items:
- "make install"
- "modprobe -r iavf"
- "modprobe iavf"
when:
- intel_driver_extracted
tags:
- intel-inst
|