Skip to content

Commit 5dbd8bb

Browse files
committed
make ssh key comment match docs
1 parent caf41ec commit 5dbd8bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ansible/roles/basic_users/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
community.crypto.openssh_keypair:
9494
path: "{{ item.ssh_key_file | default('~/.ssh/id_' + _ssh_key_type )}}" # NB: ssh_key_file is from ansible.builtin.user
9595
type: "{{ _ssh_key_type }}"
96+
comment: "{{ item.ssh_key_comment | default(item.name) }}"
9697
vars:
9798
_ssh_key_type: "{{ item.ssh_key_type | default('ed25519') }}"
9899
become_user: "{{ item.name }}"

0 commit comments

Comments
 (0)