From 443efffc41984ac604ffa733dd936fecd83006dd Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 24 Feb 2018 15:42:59 +0100 Subject: wip --- ansible/roles/mw-backend/tasks/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ansible/roles/mw-backend/tasks/main.yml (limited to 'ansible/roles/mw-backend/tasks') 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 -- cgit v1.2.3