zuul-jobs/roles/add-build-sshkey
Tobias Henkel 68ee0780be Rename uuid to build
In change If9ebdc783dcef4f8dea9fa491b40ae49416e5cf1 in zuul uuid was
renamed to build. This must be also reflected here.

Change-Id: I46101d7a9ecc1513647f19d1d377480d5afa9a5d
2017-07-21 09:46:04 +02:00
..
2017-07-21 09:46:04 +02:00

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.