Skip to content

bootstrap-ssh-self

A task to generate a local ssh key and add to local known-hosts

This creates an ssh key pair if one doesn't exist. It then adds the public key to the known-hosts file.

The private half is stored on this machine as both rsa/key-private and console/ssh-key. The remote SSH console reads the console/* pair, which is kept separate from rsa/* because ansible and kubespray content consume those.

Objects that Reference bootstrap-ssh-self

Objects used by bootstrap-ssh-self