aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/intel/tasks/main.yaml
diff options
context:
space:
mode:
authorJuraj Linkeš <juraj.linkes@pantheon.tech>2021-11-12 11:18:05 +0100
committerPeter Mikus <pmikus@cisco.com>2021-11-15 08:32:25 +0000
commitf8bfa09de55d081e283a59f245f5135673bea1da (patch)
treecb22171f1944608507976e9c72f5d5093ecd5124 /fdio.infra.ansible/roles/intel/tasks/main.yaml
parent53ea17aaada22ca928a5e624d4a48b7748d2fcfa (diff)
fix(Ansible): iavf install condition
The existing condition is missing parentheses and doesn't work as expected. Change-Id: I3c45f5764b95bc8dcfbdd8ee6e2698bfb022dfb6 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Diffstat (limited to 'fdio.infra.ansible/roles/intel/tasks/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/intel/tasks/main.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/fdio.infra.ansible/roles/intel/tasks/main.yaml b/fdio.infra.ansible/roles/intel/tasks/main.yaml
index a73e6299a2..b70daf0315 100644
--- a/fdio.infra.ansible/roles/intel/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/intel/tasks/main.yaml
@@ -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