From: Ullli Date: Thu, 7 May 2026 14:37:34 +0000 (+0200) Subject: Anpassungen bootstrapping und neu lighttpd-server X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/commitdiff_plain/7d108863d2d4bbdb18a636d849e1d5b0e1ddfae5?ds=sidebyside;hp=35f6b6119c6cdaeaf9142ccc3e04c01687a43d77 Anpassungen bootstrapping und neu lighttpd-server --- diff --git a/tasks/bootstrap.yml b/tasks/bootstrap.yml index 7a2f9dd..0488d81 100644 --- a/tasks/bootstrap.yml +++ b/tasks/bootstrap.yml @@ -47,20 +47,3 @@ pkg: - fail2ban when: ("DMZ" in group_names) -- name: Add ansible user to server - ansible.builtin.user: - name: ansible - shell: /bin/bash -- name: Allow "ansible"-user to have passwordless sudo - ansible.builtin.copy: - src: sudo_ansible - dest: /etc/sudoers.d/ansible - owner: root - group: root - mode: "0440" -- name: Add installbox-ansible-user _public_ ssh-key to the servers authorized_keys file - ansible.posix.authorized_key: - user: ansible - state: present - manage_dir: true - key: "{{ lookup('file', '/home/ansible/.ssh/id_ed25519.pub') }}"