Refactor default ssh keys

This commit is contained in:
Tobias Reisinger 2026-11-08 19:12:01 +01:00
commit acbc38aa8a
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -8,7 +8,7 @@ users:
shell: /bin/bash
lock_passwd: false
ssh_authorized_keys:
- "${default_ssh_key}"
- "${default_ssh_keys["openpgp:0xAB920993"]}"
- name: ansible
gecos: Ansible User
groups: users,admin,wheel
@ -16,7 +16,9 @@ users:
shell: /bin/bash
lock_passwd: true
ssh_authorized_keys:
- "${default_ssh_key}"
%{ for n, k in default_ssh_keys ~}
- "${k}"
%{ endfor ~}
packages:
- git