Skip to content

Commit 32d0eca

Browse files
committed
Update instead of replace the ssh host keys
1 parent 10a5fa9 commit 32d0eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

play-load-node-credentials.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
become: no
1111
tasks:
1212
- name: run keyscan to add keys of remote hosts to local known_hosts
13-
local_action: shell ssh-keyscan {{ inventory_hostname }} > ~/.ssh/known_hosts
13+
local_action: shell ssh-keyscan {{ inventory_hostname }} >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)