blob: 06930b24796f3e5f5832686f32ad33cdcb5e846f (
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
|
---
# file: roles/sut/tasks/main.yaml
- Name: Update package cache (apt)
apt:
update_cache: yes
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
- name: SUT - Install Distribution - Release - Machine Prerequisites
package:
name: "{{ packages | flatten(levels=1) }}"
state: latest
tags:
- install-dependencies
- name: SUT - Install VPP 19.08 PIP requirements
pip:
name:
- "aenum==2.1.2"
executable: pip2
tags:
- install-pip
- name: SUT - Copy 80-vpp.conf
file:
src: "/dev/null"
dest: "/etc/sysctl.d/80-vpp.conf"
state: "link"
become: yes
tags:
- create-80-vpp
|