From 9aa19ed84f9f2b3bd7344acb04fd7e1c0f6ce772 Mon Sep 17 00:00:00 2001 From: Ullli Date: Wed, 8 Feb 2023 17:25:44 +0100 Subject: [PATCH 1/1] erster Entwurf fuer Bootstrap.yml --- library/bootstrap.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/library/bootstrap.yml b/library/bootstrap.yml index e69de29..66493a2 100644 --- a/library/bootstrap.yml +++ b/library/bootstrap.yml @@ -0,0 +1,38 @@ +--- + - name: change ansible-user password + user: + name: ansible + update_password: always + password: "{{ ansibleuser|password_hash('sha512') }}" + - name: hide system-account + copy: + src: fsit-cmgt/files/gdm-ansible + dest: /var/lib/AccountsService/users/ansible + #- name: stop automatic remote printer installation + #ansible.builtin.systemd: + #name: cups-browsed + #state: stopped + #- name: disable automatic remote printer installation + #ansible.builtin.systemd: + #name: cups-browsed + #enabled: no + - name: remove apt-config-file derived from preseeding + ansible.builtin.file: + path: /etc/apt/apt.conf + state: absent + - name: copy new apt-proxy config file to apt.conf.d-dir + ansible.builtin.template: + src: files/apt-proxy_01proxy.j2 + dest: /etc/apt/apt.conf.d/01proxy + - name: Update and upgrade apt packages + apt: + update_cache: yes + upgrade: yes + - name: install core-packages + apt: + pkg: + - htop + - glances + - inxi + - bmon +... -- 2.39.5