diff options
author | Juraj Linkeš <juraj.linkes@pantheon.tech> | 2021-07-23 13:20:52 +0200 |
---|---|---|
committer | Juraj Linkeš <juraj.linkes@pantheon.tech> | 2021-07-23 15:31:53 +0200 |
commit | 5a1f1b7fa58c082dd359a7b4df700f5df3839bfd (patch) | |
tree | dc76c43f1b431821e53b6b0efc7c5d15dfb250ff /fdio.infra.ansible/roles/intel/tasks/i40e.yaml | |
parent | 1da19da813655f643bc3c6e4d03bed987f076f07 (diff) |
Ansible: iavf driver install
* 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š <juraj.linkes@pantheon.tech>
Diffstat (limited to 'fdio.infra.ansible/roles/intel/tasks/i40e.yaml')
-rw-r--r-- | fdio.infra.ansible/roles/intel/tasks/i40e.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml index cf42f326c2..8c34d096aa 100644 --- a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml +++ b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml @@ -1,7 +1,7 @@ --- # file: roles/intel/tasks/i40e.yaml -- name: Inst - Get Network Adapter Driver +- name: Inst - Get i40e Network Adapter Driver get_url: url: "{{ intel_i40e_driver_url }}" dest: "{{ intel_i40e_driver_dir }}/i40e-{{ intel_i40e_version }}.tar.gz" @@ -9,7 +9,7 @@ tags: - intel-inst -- name: Inst - Extract Network Adapter Driver +- name: Inst - Extract i40e Network Adapter Driver unarchive: remote_src: true src: "{{ intel_i40e_driver_dir }}/i40e-{{ intel_i40e_version }}.tar.gz" @@ -19,8 +19,8 @@ tags: - intel-inst -- name: Inst - Network Adapter Driver - command: "make install; modprobe -r i40e; modprobe i40e" +- name: Inst - i40e Network Adapter Driver + command: "make install && modprobe -r i40e && modprobe i40e" args: chdir: "{{ intel_i40e_driver_dir }}/i40e-{{ intel_i40e_version }}/src" failed_when: no |