aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/vagrant/ansible/roles/common/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/vagrant/ansible/roles/common/tasks/main.yml')
-rw-r--r--resources/tools/vagrant/ansible/roles/common/tasks/main.yml22
1 files changed, 22 insertions, 0 deletions
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
index 0000000000..d5857da05c
--- /dev/null
+++ b/resources/tools/vagrant/ansible/roles/common/tasks/main.yml
@@ -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