]> freie-schul-it.de Git - fsit_cmgt.git/blob - tasks/bootstrap.yml
erste Runde mit einer Ansible-Rolle
[fsit_cmgt.git] / tasks / bootstrap.yml
1 ---
2 - name: change ansible-user password
3 user:
4 name: ansible
5 update_password: always
6 password: "{{ ansibleuser|password_hash('sha512') }}"
7 - name: hide system-account
8 ansible.builtin.copy:
9 src: gdm-ansible
10 dest: /var/lib/AccountsService/users/ansible
11 #- name: stop automatic remote printer installation
12 #ansible.builtin.systemd:
13 #name: cups-browsed
14 #state: stopped
15 #- name: disable automatic remote printer installation
16 #ansible.builtin.systemd:
17 #name: cups-browsed
18 #enabled: no
19 - name: remove apt-config-file derived from preseeding
20 ansible.builtin.file:
21 path: /etc/apt/apt.conf
22 state: absent
23 - name: copy new apt-proxy config file to apt.conf.d-dir
24 ansible.builtin.template:
25 src: apt-proxy_01proxy.j2
26 dest: /etc/apt/apt.conf.d/01proxy
27 when: fsit_cmgt_aptproxy != ""
28 - name: Update and upgrade apt packages
29 apt:
30 update_cache: yes
31 upgrade: yes
32 - name: install core-packages
33 apt:
34 pkg:
35 - htop
36 - glances
37 - inxi
38 - bmon
39 ...