zuul-jobs/roles/add-build-sshkey
James E. Blair cfffd4431b Move some base job roles from openstack-zuul-roles
Change-Id: I7ac8d2335518c06808461f2fb30ea896709f09ed
2017-07-13 15:13:41 -07:00
..
tasks Move some base job roles from openstack-zuul-roles 2017-07-13 15:13:41 -07:00
vars Move some base job roles from openstack-zuul-roles 2017-07-13 15:13:41 -07:00
README.rst Move some base job roles from openstack-zuul-roles 2017-07-13 15:13:41 -07: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.