Skip to content


The cake function provisioning_accept_ssh does an initial SSH connection attempt to the servers. If this succeeds, the SSH host key is accepted and saved to your ~/.ssh/known_hosts file.


Key Value
Playbook path plays/provisioning/accept-new-hosts.yml
Role None
Tags None
Defaults None
Config file Description
workstation:~/.ssh/known_hosts SSH Host keys will be saved here on your workstation


cake -f provisioning_accept_ssh -i pub

No manual inventory/ modifications required.