Add terminal server and remove erki's offsite box

This commit is contained in:
2025-12-22 20:56:03 +02:00
parent 43e099d438
commit ce2ecce1f7
3 changed files with 30 additions and 14 deletions

View File

@@ -6,6 +6,8 @@
connection: local
vars:
targets: "{{ hostvars[groups['all']] }}"
tags:
- collect_server_public_keys
tasks:
- name: Generate ssh_config
ansible.builtin.copy:
@@ -40,6 +42,8 @@
connection: local
vars:
targets: "{{ hostvars[groups['all']] }}"
tags:
- collect_user_public_keys
tasks:
- name: Download https://git.k-space.ee/user.keys
loop:
@@ -47,6 +51,7 @@
- eaas
- lauri
- rasmus
- kkuusk
ansible.builtin.get_url:
url: https://git.k-space.ee/{{ item }}.keys
dest: "./{{ item }}.keys"
@@ -57,6 +62,8 @@
- kubelets
- doors
# do NOT put proxmox here! PVE manages its keys and admin keys are manual
tags:
- push_keys
tasks:
- name: Generate /root/.ssh/authorized_keys
ansible.builtin.copy: