diff --git a/playbooks/roles/ssh/tasks/main.yml b/playbooks/roles/ssh/tasks/main.yml index 88f7d0b..7e53429 100644 --- a/playbooks/roles/ssh/tasks/main.yml +++ b/playbooks/roles/ssh/tasks/main.yml @@ -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 \ No newline at end of file + enabled: yes