X-Git-Url: https://freie-schul-it.de/gitweb/fsit-cmgt.git/blobdiff_plain/340e7bb6f6009f20ecdded89bd9cf128cc845057..01527dc15aeb19d11ccc2e6a6f350c925116c44e:/library/bootstrap.yml?ds=inline diff --git a/library/bootstrap.yml b/library/bootstrap.yml index 8b2f44b..1106b02 100644 --- a/library/bootstrap.yml +++ b/library/bootstrap.yml @@ -1,13 +1,21 @@ --- - - 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: change ansible-user password + ansible.builtin.user: + name: ansible + update_password: always + password: "{{ ansibleuser|password_hash('sha512') }}" +- name: hide system-account + ansible.builtin.copy: + dest: /var/lib/AccountsService/users/ansible + content: | + [User] + #Session= + #XSession= + #Icon=/home/ansible/.face + #SystemAccount=true + # + #[InputSource0] + #xkb=de #- name: stop automatic remote printer installation #ansible.builtin.systemd: #name: cups-browsed @@ -16,23 +24,23 @@ #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 +- 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 ...