feat(infra): Mellanox compatibility Matrix
[csit.git] / fdio.infra.ansible / roles / intel / tasks / main.yaml
index a73e629..c37a373 100644 (file)
@@ -1,5 +1,5 @@
 ---
-# file: roles/performance_tuning/tasks/main.yaml
+# file: roles/intel/tasks/main.yaml
 
 - name: Inst - Update Package Cache (APT)
   apt:
@@ -10,7 +10,7 @@
   tags:
     - intel-inst-drivers
 
-- name: Inst - Machine Prerequisites
+- name: Inst - Prerequisites
   package:
     name: "{{ packages | flatten(levels=1) }}"
     state: latest
@@ -73,9 +73,9 @@
 - name: Inst - Driver Intel iAVF
   import_tasks: iavf.yaml
   when: >
-    intel_700_pcis.stdout_lines | length > 0 or
-    intel_800_pcis.stdout_lines | length > 0 and
-    intel_700_matrix is defined or
-    intel_800_matrix is defined
+    (intel_700_pcis.stdout_lines | length > 0 and
+    intel_700_matrix is defined ) or
+    (intel_800_pcis.stdout_lines | length > 0 and
+    intel_800_matrix is defined)
   tags:
     - intel-inst-drivers