Skip to content

Commit 809d213

Browse files
committed
fix ssh key location
1 parent 9cb0abb commit 809d213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ansible/roles/basic_users/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
- name: Generate cluster ssh key
9292
community.crypto.openssh_keypair:
93-
path: "{{ item.ssh_key_file | default('~/.ssh/' + _ssh_key_type )}}" # NB: ssh_key_file is from ansible.builtin.user
93+
path: "{{ item.ssh_key_file | default('~/.ssh/id_' + _ssh_key_type )}}" # NB: ssh_key_file is from ansible.builtin.user
9494
type: "{{ _ssh_key_type }}"
9595
vars:
9696
_ssh_key_type: "{{ item.ssh_key_type | default('ed25519') }}"

0 commit comments

Comments
 (0)