Include distribution in ssh key name

Closes #19

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2020-10-17 13:16:23 +02:00
parent 0b7969ad00
commit 0736d64ecc
No known key found for this signature in database
GPG key ID: DE0CF444096A468D

View file

@ -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