diff options
author | Peter Mikus <pmikus@cisco.com> | 2022-06-22 11:01:17 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2022-06-22 11:03:19 +0000 |
commit | 30fafd68334a3933695ef65c05c417a0f7ed07c9 (patch) | |
tree | 83718bcd35853bd87c047588a1ee220e56527d4f /fdio.infra.ansible/roles | |
parent | 7f802fe17cb69fad4a31e427ceeb9a6ccf2df1b7 (diff) |
feat(ansible): Add ICX
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I3a62dc7048102381598b3e0dfc16f82fad834d7b
(cherry picked from commit 99a0ec18cb9117e9c22b4416c97d603215e3fa8b)
Diffstat (limited to 'fdio.infra.ansible/roles')
-rw-r--r-- | fdio.infra.ansible/roles/intel/tasks/ice.yaml | 18 | ||||
-rw-r--r-- | fdio.infra.ansible/roles/intel/tasks/main.yaml | 2 | ||||
-rw-r--r-- | fdio.infra.ansible/roles/mellanox/tasks/main.yaml | 3 |
3 files changed, 12 insertions, 11 deletions
diff --git a/fdio.infra.ansible/roles/intel/tasks/ice.yaml b/fdio.infra.ansible/roles/intel/tasks/ice.yaml index bbd07c6539..2386c8390c 100644 --- a/fdio.infra.ansible/roles/intel/tasks/ice.yaml +++ b/fdio.infra.ansible/roles/intel/tasks/ice.yaml @@ -54,15 +54,15 @@ tags: - intel-inst -- name: Inst - Extract Dynamic Device Personalization (DDP) Package - unarchive: - remote_src: true - src: "{{ intel_extract_dir }}/ice_comms-{{ ddp }}.zip" - dest: "{{ intel_extract_dir }}/" - register: intel_driver_extracted - tags: - - intel-inst - +#- name: Inst - Extract Dynamic Device Personalization (DDP) Package +# unarchive: +# remote_src: true +# src: "{{ intel_extract_dir }}/ice_comms-{{ ddp }}.zip" +# dest: "{{ intel_extract_dir }}/" +# register: intel_driver_extracted +# tags: +# - intel-inst +# - name: Inst - Copy Dynamic Device Personalization (DDP) Package copy: src: "{{ intel_extract_dir }}/ice_comms-{{ ddp }}.pkg" diff --git a/fdio.infra.ansible/roles/intel/tasks/main.yaml b/fdio.infra.ansible/roles/intel/tasks/main.yaml index c37a373db6..cb81020a68 100644 --- a/fdio.infra.ansible/roles/intel/tasks/main.yaml +++ b/fdio.infra.ansible/roles/intel/tasks/main.yaml @@ -18,7 +18,7 @@ - intel-inst-drivers - name: Inst - Check Presence of Intel Ethernet 700 Series - shell: "lspci -d 8086:1583; lspci -d 8086:1585; lspci -d 8086:1572" + shell: "lspci -d 8086:1583; lspci -d 8086:1585; lspci -d 8086:1572; lspci -d 8086:158a; lspci -d 8086:158b" register: intel_700_pcis failed_when: false changed_when: false diff --git a/fdio.infra.ansible/roles/mellanox/tasks/main.yaml b/fdio.infra.ansible/roles/mellanox/tasks/main.yaml index 75964304ca..81fefc8ae3 100644 --- a/fdio.infra.ansible/roles/mellanox/tasks/main.yaml +++ b/fdio.infra.ansible/roles/mellanox/tasks/main.yaml @@ -29,7 +29,8 @@ set_fact: ofed: "{{ mellanox_cx5_compatibility_matrix[mellanox_cx5_matrix]['ofed'] }}" when: > - mellanox_pcis is defined + mellanox_pcis.stdout_lines | length > 0 and + mellanox_cx5_matrix is defined tags: - mellanox-inst-drivers |