Add vagrant setup for testing VPP device locally
[csit.git] / resources / tools / vagrant / ansible / roles / common / tasks / main.yml
1 ---
2 # file: common/tasks/main.yml
3
4 - name: Update and upgrade system packages and update cache if it's older then 1 hour
5   apt:
6     upgrade: dist
7     cache_valid_time: 3600
8
9 - name: Install required common system packages
10   apt:
11     name:
12       - apt-transport-https
13       - ca-certificates
14       - curl
15       - software-properties-common
16     state: latest
17
18 - name: Set /bin/sh to bash instead of dash
19   alternatives:
20     name: sh
21     link: /bin/sh
22     path: /bin/bash