Support multiple authorized keys

This commit is contained in:
2024-09-16 21:51:47 +02:00
parent 2ea1042d7e
commit 536738f2e8
3 changed files with 18 additions and 15 deletions

View File

@@ -10,7 +10,9 @@ users:
hashed_passwd: ${user_hashed_password}
lock_passwd: false
ssh_authorized_keys:
- ${user_ssh_public_key}
%{ for key in user_ssh_public_keys ~}
- ${key}
%{ endfor ~}
- name: git
lock_passwd: true