bbc4c5b920
In a multi node setup, we only want this logic to be run one across all hosts. Change-Id: I4ebb62f76d4ff7363635bee7073c2d7e8f0ad70e Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Generate and install a build-local SSH key on all hosts
This role is intended to be run on the Zuul Executor at the start of every job. It generates an SSH keypair and installs the public key in the authorized_keys file of every host in the inventory. It then removes all keys from this job's SSH agent so that the original key used to log into all of the hosts is no longer accessible, then adds the newly generated private key.
Role Variables
- zuul_temp_ssh_key
-
Where to put the newly-generated SSH private key.