Include distribution in ssh key name
Closes #19 Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
0b7969ad00
commit
0736d64ecc
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
name: mfocko
|
||||
generate_ssh_key: yes
|
||||
ssh_key_type: ed25519
|
||||
ssh_key_comment: "$HOSTNAME"
|
||||
ssh_key_comment: "$HOSTNAME-{{ ansible_facts['distribution'] }}"
|
||||
|
||||
- name: Install SSH config
|
||||
template:
|
||||
|
@ -15,4 +15,4 @@
|
|||
- name: Enable sshd
|
||||
systemd:
|
||||
name: sshd
|
||||
enabled: yes
|
||||
enabled: yes
|
||||
|
|
Loading…
Reference in a new issue