]> freie-schul-it.de Git - fsit-cmgt.git/blob - library/bootstrap.yml
Kommentare ans Ende
[fsit-cmgt.git] / library / bootstrap.yml
1 ---
2 - name: change ansible-user password
3 ansible.builtin.user:
4 name: ansible
5 update_password: always
6 password: "{{ ansibleuser|password_hash('sha512') }}"
7 - name: hide system-account
8 ansible.builtin.copy:
9 dest: /var/lib/AccountsService/users/ansible
10 content: |
11 [User]
12 Session=
13 XSession=
14 Icon=/home/ansible/.face
15 SystemAccount=true
16 [InputSource0]
17 xkb=de
18 - name: remove apt-config-file derived from preseeding
19 ansible.builtin.file:
20 path: /etc/apt/apt.conf
21 state: absent
22 - name: copy new apt-proxy config file to apt.conf.d-dir
23 ansible.builtin.template:
24 src: fsit-cmgt/templates/apt-proxy_01proxy.j2
25 dest: /etc/apt/apt.conf.d/01proxy
26 - name: Update and upgrade apt packages
27 apt:
28 update_cache: yes
29 upgrade: yes
30 - name: install core-packages
31 apt:
32 pkg:
33 - htop
34 - glances
35 - inxi
36 - bmon
37 - vim
38 #- name: stop automatic remote printer installation
39 #ansible.builtin.systemd:
40 #name: cups-browsed
41 #state: stopped
42 #- name: disable automatic remote printer installation
43 #ansible.builtin.systemd:
44 #name: cups-browsed
45 #enabled: no
46 ...