From 57985ca9eb2583efbcd33e7caa2325467f1eb2e2 Mon Sep 17 00:00:00 2001 From: Ullli Date: Wed, 24 May 2023 16:36:47 +0200 Subject: [PATCH] =?utf8?q?=C3=84nderungen=20am=20DNS=20f=C3=BCr=20Ubuntu?= =?utf8?q?=20und=20autoremove=20f=C3=BCr=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- library/bootstrap.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/library/bootstrap.yml b/library/bootstrap.yml index 0b36ab1..0297198 100644 --- a/library/bootstrap.yml +++ b/library/bootstrap.yml @@ -19,10 +19,18 @@ content: | Acquire::http { Proxy "http://{{ aptproxy }}:3142"; }; Acquire::https { Proxy "https://"; }; +- name: prepare ubuntu-DNS for working in local network + file: + src: /run/systemd/resolve/resolv.conf + dest: /etc/resolv.conf + state: link + force: yes + when: ansible_facts['distribution'] == 'Ubuntu' - name: Update and upgrade apt packages apt: - update_cache: yes - upgrade: yes + update_cache: true + upgrade: true + autoremove: true - name: install core-packages apt: pkg: -- 2.39.5