]> freie-schul-it.de Git - fsit-cmgt.git/blobdiff - library/bootstrap.yml
weitere kleine werkzeuge und glances entfernt (wird via pip installiert)
[fsit-cmgt.git] / library / bootstrap.yml
index 0b36ab1a5e3a9fd8e35954016fde0ad264dead9d..46716a598949e0113ab8fa6f14006a95e4e64d31 100644 (file)
     content: |
       Acquire::http { Proxy "http://{{ aptproxy }}:3142"; };
       Acquire::https { Proxy "https://"; };
     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:
 - 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
 - name: install core-packages
   apt:
     pkg:
     - htop
-    - glances
+#    - glances
     - inxi
     - bmon
     - vim
     - inxi
     - bmon
     - vim
+    - mtr-tiny
+    - tmux
 #- name: stop automatic remote printer installation
 #  ansible.builtin.systemd:
 #    name: cups-browsed
 #- name: stop automatic remote printer installation
 #  ansible.builtin.systemd:
 #    name: cups-browsed