X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Fintel%2Ftasks%2Fice.yaml;h=9baa9d050de35dcde20103efbb08bce9b4730a59;hp=e3aff34cfe1d90fdf776be5c1054895cf7073192;hb=d41a5490f30a161561c39c4f1b08add17b9cf6f7;hpb=5a1f1b7fa58c082dd359a7b4df700f5df3839bfd diff --git a/fdio.infra.ansible/roles/intel/tasks/ice.yaml b/fdio.infra.ansible/roles/intel/tasks/ice.yaml index e3aff34cfe..9baa9d050d 100644 --- a/fdio.infra.ansible/roles/intel/tasks/ice.yaml +++ b/fdio.infra.ansible/roles/intel/tasks/ice.yaml @@ -20,10 +20,14 @@ - intel-inst - name: Inst - ice Network Adapter Driver - command: "make install && modprobe -r ice && modprobe ice" + command: "{{ item }}" args: chdir: "{{ intel_ice_driver_dir }}/ice-{{ intel_ice_version }}/src" - failed_when: no + with_items: + - "make install" + - "modprobe -r ice" + - "modprobe ice" + failed_when: false when: - intel_driver_extracted tags: @@ -60,8 +64,8 @@ copy: src: "{{ intel_ddp_profile_dir }}/ice_comms-{{ intel_ddp_version }}.pkg" dest: "/lib/firmware/updates/intel/ice/ddp/ice-{{ intel_ddp_version }}.pkg" - remote_src: yes - follow: yes + remote_src: true + follow: true tags: - intel-inst