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

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

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

- name: "sysctl"
  ansible.builtin.file:
    src: "/dev/null"
    dest: "/etc/sysctl.d/80-vpp.conf"
    state: "link"
  become: true
  tags:
    - vpp-conf-sysctl