diff options
Diffstat (limited to 'fdio.infra.ansible')
3 files changed, 11 insertions, 12 deletions
diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml index 1fe061605a..b74d6d66e9 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml @@ -30,5 +30,5 @@ inventory_ipmi_hostname: "10.30.50.53" cpu_microarchitecture: "sapphirerapids" docker_tg: true -mellanox_matrix: "dpdk22.07" +mellanox_matrix: "dpdk23.03" intel_dsa_matrix: true diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 index 1fd365eec0..6dcbc9f871 100644 --- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 +++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 @@ -8,15 +8,15 @@ services: expose: - "6001" hostname: "{{ ansible_hostname }}" - networks: - tg-nw-0: + network_mode: "host" privileged: true - ports: - - "6001:6001" restart: "always" shm_size: "4G" volumes: - type: "bind" + source: "/usr/bin/ofed_info" + target: "/usr/bin/ofed_info" + - type: "bind" source: "/dev/hugepages" target: "/dev/hugepages" - type: "bind" @@ -39,15 +39,15 @@ services: expose: - "6002" hostname: "{{ ansible_hostname }}" - networks: - tg-nw-1: + network_mode: "host" privileged: true - ports: - - "6002:6002" restart: "always" shm_size: "4G" volumes: - type: "bind" + source: "/usr/bin/ofed_info" + target: "/usr/bin/ofed_info" + - type: "bind" source: "/dev/hugepages" target: "/dev/hugepages" - type: "bind" @@ -62,6 +62,3 @@ services: - type: "bind" source: "/usr/lib/firmware/" target: "/usr/lib/firmware/" -networks: - tg-nw-0: - tg-nw-1:
\ No newline at end of file diff --git a/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml b/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml index 1084156412..177705c503 100644 --- a/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml +++ b/fdio.infra.ansible/roles/mellanox/tasks/ofed.yaml @@ -31,6 +31,8 @@ - name: Inst - Switch Infiniband to Ethernet ansible.builtin.command: "mlxconfig --yes --dev {{ item }} set LINK_TYPE_P1=2 LINK_TYPE_P2=2" with_items: "{{ mellanox_pcis.stdout_lines }}" + failed_when: false + changed_when: false tags: - mellanox-inst-drivers |