aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/intel/tasks/ice.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/intel/tasks/ice.yaml')
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/ice.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/fdio.infra.ansible/roles/intel/tasks/ice.yaml b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
index e3aff34cfe..0a2fe8a858 100644
--- a/fdio.infra.ansible/roles/intel/tasks/ice.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/ice.yaml
@@ -20,9 +20,13 @@
- 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"
+ with_items:
+ - "make install"
+ - "modprobe -r ice"
+ - "modprobe ice"
failed_when: no
when:
- intel_driver_extracted