X-Git-Url: https://freie-schul-it.de/gitweb/fsit-cmgt.git/blobdiff_plain/60f48c94938cdc6dbbf85dace6737c3b92cdd725..0ff787b9b115fd25bbf5ca6809de65767556db4d:/library/bootstrap.yml?ds=inline diff --git a/library/bootstrap.yml b/library/bootstrap.yml index 0b36ab1..46716a5 100644 --- a/library/bootstrap.yml +++ b/library/bootstrap.yml @@ -19,18 +19,28 @@ 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: - htop - - glances +# - glances - inxi - bmon - vim + - mtr-tiny + - tmux #- name: stop automatic remote printer installation # ansible.builtin.systemd: # name: cups-browsed