Skip to content

provisioning_accept_ssh

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.

Information

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

Example

cake -f provisioning_accept_ssh -i pub

No manual inventory/ modifications required.