aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml
blob: 6011917de2c12068c7a44969700735c9f623b372 (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
27
28
29
30
31
32
33
34
35
---
# file: roles/vpp/tasks/main.yaml

- name: Inst - Update Package Cache (APT)
  apt:
    update_cache: yes
    cache_valid_time: 3600
  when:
    - ansible_distribution|lower == 'ubuntu'
  tags:
    - vpp-inst-prerequisites

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

- name: Inst - VPP 19.08 PIP requirements
  pip:
    name:
      - "aenum==2.1.2"
    executable: pip2
  tags:
    - install-pip

- name: Copy 80-vpp.conf
  file:
    src: "/dev/null"
    dest: "/etc/sysctl.d/80-vpp.conf"
    state: "link"
  become: yes
  tags:
    - create-80-vpp