feat(Ansible): 2M and 1G hugepages
[csit.git] / fdio.infra.ansible / roles / intel / tasks / ice.yaml
index e3aff34..9baa9d0 100644 (file)
     - 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