4 lines
108 B
Bash
Executable file
4 lines
108 B
Bash
Executable file
for i in $(cat inventory.yaml | grep ssh | cut -d= -f2)
|
|
do
|
|
ssh-keyscan $i >> ~/.ssh/known_hosts
|
|
done
|