X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Fintel%2Ftasks%2Fi40e.yaml;fp=fdio.infra.ansible%2Froles%2Fintel%2Ftasks%2Fi40e.yaml;h=fe8ae7c5ea7ffca113a842bb2d1be8c33c9f7a78;hp=8c34d096aa0a492b5fb82c7e9a7a43cd444280d7;hb=67d2e96f19c4f12f1e7bd27052f1bc177f060b71;hpb=d71805fb41303c4c4b5c709fe18004a0b946a033 diff --git a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml index 8c34d096aa..fe8ae7c5ea 100644 --- a/fdio.infra.ansible/roles/intel/tasks/i40e.yaml +++ b/fdio.infra.ansible/roles/intel/tasks/i40e.yaml @@ -20,9 +20,13 @@ - intel-inst - name: Inst - i40e Network Adapter Driver - command: "make install && modprobe -r i40e && modprobe i40e" + command: "{{ item }}" args: chdir: "{{ intel_i40e_driver_dir }}/i40e-{{ intel_i40e_version }}/src" + with_items: + - "make install" + - "modprobe -r i40e" + - "modprobe i40e" failed_when: no when: - intel_driver_extracted