Add vagrant setup for testing VPP device locally
[csit.git] / resources / tools / vagrant / ansible / roles / common / tasks / main.yml
diff --git a/resources/tools/vagrant/ansible/roles/common/tasks/main.yml b/resources/tools/vagrant/ansible/roles/common/tasks/main.yml
new file mode 100644 (file)
index 0000000..d5857da
--- /dev/null
@@ -0,0 +1,22 @@
+---
+# file: common/tasks/main.yml
+
+- name: Update and upgrade system packages and update cache if it's older then 1 hour
+  apt:
+    upgrade: dist
+    cache_valid_time: 3600
+
+- name: Install required common system packages
+  apt:
+    name:
+      - apt-transport-https
+      - ca-certificates
+      - curl
+      - software-properties-common
+    state: latest
+
+- name: Set /bin/sh to bash instead of dash
+  alternatives:
+    name: sh
+    link: /bin/sh
+    path: /bin/bash
\ No newline at end of file