aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/mw-backend/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/mw-backend/tasks')
-rw-r--r--ansible/roles/mw-backend/tasks/main.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/ansible/roles/mw-backend/tasks/main.yml b/ansible/roles/mw-backend/tasks/main.yml
new file mode 100644
index 0000000..799f0e5
--- /dev/null
+++ b/ansible/roles/mw-backend/tasks/main.yml
@@ -0,0 +1,21 @@
+---
+- name: apt setup
+ tags: packages
+ become: yes
+ block:
+ - copy:
+ dest: /etc/apt/apt.conf.d/99force-ipv4
+ content: 'Acquire::ForceIPv4 "true";'
+ notify: update apt cache
+
+ - meta: flush_handlers
+
+# - name: packages
+# tags: packages
+# become: yes
+# apt:
+# name: "{{ item }}"
+# install_recommends: no
+# with_items:
+# - ping
+# - apache2