home lab init

This commit is contained in:
plasmagoat 2025-06-03 23:07:46 +02:00
commit 7278922625
65 changed files with 27336 additions and 0 deletions

View file

@ -0,0 +1,14 @@
- name: Ensure user plasmagoat exists
ansible.builtin.user:
name: plasmagoat
groups: wheel,docker,networkmanager
shell: /usr/bin/zsh
state: present
- name: Set authorized SSH keys for plasmagoat
ansible.posix.authorized_key:
user: plasmagoat
key: "{{ item }}"
loop:
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCeg/n/..."
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICUP7m8jZJ..."