Ansible - Autoupdate local .ssh/know_hosts for given inventory hosts

Ansible - adding target hosts’ key to ~/.ssh/known_host

ANSIBLE_HOST_KEY_CHECKING=False ansible -e 'record_host_keys=True' -i <inventory> all -m ping

 Share!