Refactor default ssh keys
This commit is contained in:
parent
3517033108
commit
acbc38aa8a
1 changed files with 40 additions and 34 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue