From 7d108863d2d4bbdb18a636d849e1d5b0e1ddfae5 Mon Sep 17 00:00:00 2001 From: Ullli Date: Thu, 7 May 2026 16:37:34 +0200 Subject: [PATCH] Anpassungen bootstrapping und neu lighttpd-server --- tasks/bootstrap.yml | 17 ----------------- 1 file changed, 17 deletions(-) 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') }}" -- 2.39.5