dawidd6 / action-ansible-playbook

:gear: A GitHub Action for running Ansible playbooks
MIT License
306 stars 68 forks source link

Add support for SSH Host Key Checking #19

Closed Apreche closed 3 years ago

Apreche commented 3 years ago

By default it seems that SSH host key checking has been disabled. This patch makes it optional. If a variable named known_hosts is passed in, the key checking will be enabled. The variable should contain the complete contents of the known_hosts file, which must contain the public key(s) of the host(s) in the inventory.

dawidd6 commented 3 years ago

Nice. Thanks.