aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/dpdk/tasks/main.yaml
blob: 1b7886386a562900739b00fdde5aa4bb9d76e48b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
# file: tasks/main.yaml

- name: "Update Package Cache (APT)"
  ansible.builtin.apt:
    update_cache: true
  when:
    - ansible_os_family == 'Debian'
  tags:
    - dpdk-inst-prerequisites

- name: "Prerequisites"
  ansible.builtin.package:
    name: "{{ packages | flatten(levels=1) }}"
    state: "latest"
  tags:
    - dpdk-inst-prerequisites

- name: "Multiple DPDK Versions"
  include_tasks: "deploy_block.yaml"
  loop: "{{ dpdk_version }}"
  tags:
    - dpdk-inst