X-Git-Url: https://freie-schul-it.de/gitweb/fsit-cmgt.git/blobdiff_plain/a3af4046516d2bdacf6a73d25d4cf7e0815daa80..6414dd03011cbdae89d88aabf59d537e4a2880f1:/library/bootstrap.yml diff --git a/library/bootstrap.yml b/library/bootstrap.yml index 2c17df5..2e6a5bd 100644 --- a/library/bootstrap.yml +++ b/library/bootstrap.yml @@ -5,32 +5,23 @@ update_password: always password: "{{ ansibleuser|password_hash('sha512') }}" - name: hide system-account - ansible.builtin.copy: + ansible.builtin.copy: dest: /var/lib/AccountsService/users/ansible content: | -# [User] + [User] Session= - #XSession= - #Icon=/home/ansible/.face - #SystemAccount=true - # - #[InputSource0] - #xkb=de - #- 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 + XSession= + Icon=/home/ansible/.face + SystemAccount=true + [InputSource0] + xkb=de - 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 + src: fsit-cmgt/templates/apt-proxy_01proxy.j2 dest: /etc/apt/apt.conf.d/01proxy - name: Update and upgrade apt packages apt: @@ -43,4 +34,13 @@ - glances - inxi - bmon + - vim + #- 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 ...