aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/intel/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/intel/tasks')
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/i40e.yaml6
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/iavf.yaml6
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/ice.yaml6
3 files changed, 15 insertions, 3 deletions
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
diff --git a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
index 893c608f14..9ec6781d59 100644
--- a/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/iavf.yaml
@@ -20,9 +20,13 @@
- intel-inst
- name: Inst - iavf Network Adapter Driver
- command: "make install && modprobe -r iavf && modprobe iavf"
+ command: "{{ item }}"
args:
chdir: "{{ intel_iavf_driver_dir }}/iavf-{{ intel_iavf_version }}/src"
+ with_items:
+ - "make install"
+ - "modprobe -r iavf"
+ - "modprobe iavf"
failed_when: no
when:
- intel_driver_extracted
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