Skip to content

Commit

Permalink
copy authorized_keys to inventory hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Jan 3, 2025
1 parent 58cf954 commit 4065bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-copy-id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
ansible.builtin.set_fact:
pub_key: "{{ item }}"
with_first_found:
- "{{ home_dir }}/.ssh/first.pub"
- "{{ home_dir }}/.ssh/authorized_keys"
- "{{ home_dir }}/.ssh/id_ed25519.pub"

- name: Gather facts
Expand Down

0 comments on commit 4065bc0

Please sign in to comment.