zuul-jobs/roles/add-build-sshkey
Albin Vass 2e7b28ee86 add-build-sshkey: call cmd with command
Currently a new cmd shell is opened instead of running the command
supplied when adding the build key for ssh enabled windows nodes.

Fix this by adding a '/c' flag.

Change-Id: I582febfe91d5dc229cc6a1959477a461a237336b
2020-08-11 11:40:33 +02:00
..
tasks add-build-sshkey: call cmd with command 2020-08-11 11:40:33 +02:00
vars Use main.yaml, not .yml 2020-04-20 17:44:49 +02:00
README.rst add-build-sshkey: remove previously authorized build-sshkey 2019-05-20 13:23:02 +00: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 the Zuul master key from this job's SSH agent so that the original key used to log into all of the hosts is no longer accessible (any per-project keys, if present, remain available), then adds the newly generated private key.

Role Variables

Where to put the newly-generated SSH private key.